Beginners - November 2008 (Page 2)

by zzz
wrong answer
 
please, take a look at this n is given. a =1/(i+j) Example Input: 3 Output: 0.50 0.33 0.25 ...
[3 replies] Last: thanks a lot (^_^) now it's working correctly (by zzz)
Totally lost about assigning values int, static, string, static string, etc, etc
 
First let me explain this is for a video game and the code is nearly identical to C++, it does not s...
[6 replies] Last: int x; This declares x to be an int. As simple as that. It tells the ... (by helios)
by Timbo1
dev c++ compile errors
 
here is code #include <iostream> using namespace std; int Main() { int First = 0; ...
[3 replies] Last: After you fix everything %51 told you, the last line in main() ("Opera... (by helios)
Comparing Characters?
 
I have a character array set up and I need to see if a specific character in the array is a certain ...
[4 replies] Last: Yes, that would do it. if( code == 'E' ) // assuming code is a... (by jsmith)
A problem with an array of C-Strings
 
I've go quite a strange problem with an array of strings. This is a program made to sort an array or...
[4 replies] Last: OMFG that was such a stupid mistake. Thanks for the help, the program ... (by Poke386)
Object Creation during Run Time with Windows Forms
 
Hello, I'm trying to create a GUI that would display a number of objects whenever I type the number ...
[1 reply] : Get the value and use it as size for a dinamic array (by Bazzy)
getch() Question
 
Hello. I have tried to use the function getch() . I have a problen with it. getch() , I heard, wil...
[3 replies] Last: Thanks jsmith! That worked well! @Poke386 - cin.get() doesn't work ... (by bluezor)
8 erros that are need to be fix
 
Hello I'm PSPMAN90 and I'm making an console Program that calculate the electricity bill. When I com...
[6 replies] Last: Thanks everyone for helping me to fix those errors. I'll be around to... (by PSPMAN90)
Pointer
 
I have pretty good grip on pointers but I think I missed something in my code: #include <iostrea...
[2 replies] Last: thanks for the hep now only about 900 pages of book to go (by willia23)
strange result when converting float to int
 
I needed to convert a float to a string with only two decimal places (currency), so I found itoa on ...
[1 reply] : floating point numbers are not entirely accurate. The way they are sto... (by Zaita)
by T4400
rotate a matrix
 
Hi, I'm new to C++ and I hope I can find someone to help me here. I have to make a function that rot...
[3 replies] Last: Your best bet, actually, would be to do it on paper first. Get your... (by Duthomhas)
by ZINX
Restricting a prompt
 
I'm new here, hello everybody. What is the most common way to prompt a user for a choice (eg. to ...
[2 replies] Last: Thanx (by ZINX)
Error accessing private data in a class
 
I'm new to programming and I'm having a problem with an assignment I was given to add complex number...
[5 replies] Last: That should be ok, though. sum() is a member function of complex, and... (by jsmith)
Getting started with DirectX
 
Hey All, I am developing a basic engineering design application and I feel the need to incorporat...
[3 replies] Last: It just shows how to work with DirectX... If you want to build your o... (by Bazzy)
multi function calculator confusion.
 
Ok, so im obviously no c++ god at all as ive posted like 5 codes in the last day or so, but i was wo...
[3 replies] Last: i think this is what you mean just change the + to */ and - i... (by zoldri)
Programming on vista
 
Hello ok clearly i am missing something here because i have literally just started programing i have...
[3 replies] Last: Hi if ur running on vista first of all god bless ye I was using vista ... (by Pat Nevin)
Structures and reference...
 
As part of a decent size project I am doing for school I need to zero an entire array of structures ...
[4 replies] Last: Sorry that was my fault. that was an old version of paste bin, the cur... (by bazanaka)
very simple and small
 
I've been trying to put together a few lines of C++ code to try and make a very simple program. I ha...
[7 replies] Last: wow. how do you use the beep comand. now thats high tech. (by davidbball13)
nested if
 
Hello, I wrote a program that let you enter 4 tests scores and calculates them. And it suppose to gi...
[5 replies] Last: I'm still having issues You'll have to be more specific. My psychic... (by helios)
String-Array?
 
I am very new to C programming. Can I make an array of strings so I can display data, line-by-line,...
[4 replies] Last: Thanks a lot! Deques will work perfectly for what I want to do. (by Syntax42)
November 2008 Pages: 1234... 19
  Archived months: [oct2008] [dec2008]

This is an archived page. To post a new message, go to the current page.