General C++ Programming - October 2011 (Page 15)

Problem with "Graduation" exercise.
 
I'm having trouble with the "Graduation" exercise in the Beginner Exercises thread. I've gotten almo...
[3 replies] Last: Okay, I THOUGHT I had solved the problem, but now I'm occasionally get... (by packetpirate)
by gizzmo
friend function and inheritance
 
Hi, I find it would be helpful to have a friend function of a class someClass , like someClass ope...
[3 replies] Last: someClass someClass::operator+(const someClass&) doesn't have to modif... (by mik2718)
Return last value in document??
 
How would I go about trying to fetch the last value in a document? Assuming I have have already call...
[2 replies] Last: Well if the buffer is of size 'length', then [length-1] would be the l... (by Disch)
Scoring data from a text file, loops problem
 
Hi, I'm new to the forums. I just started programming this past September, so I am still a novice. ...
[2 replies] Last: Probably not the perfect style, i had not a lot of time to care of thi... (by MagicDark)
Program stuck in infinite loop
 
I'm writing this program as an assignment for a class, and when I run it, after the user inputs it g...
[2 replies] Last: Thank you thank you thank you! I looked over it 100 times and kept mis... (by closed account 41pkoG1T)
transfer string variable
 
hello guys before all the codes and stuff, a little bit of history. i study in a university where...
[1 reply] : its okay guys. i found the solution sprintf(new_string_variable, "co... (by Ng Han Seng)
Socket Programming for windows
 
Hi, I am writing my Master Thesis and should make a Socket-programm in c++ on windows. I have to ...
[6 replies] Last: I don't know what's your problem. The internet is based on sockets hen... (by coder777)
(VC++)(Console)(GDI) How to output the graphics in Full Screen Mode?
 
Hello all! My program outputs the graphics successfully in the console window. And I can see the...
[2 replies] Last: Thank for your reply, Disch. I'll think about it... (by make026)
Designing a Gradebook
 
Hello everyone, I have an assignment to design a grade book. When I run the code, I get no errors, b...
[1 reply] : int sum = 0; for( int i = 0; i < N; i++ ) sum += a ; //sum is no... (by Mathhead200)
Sorting a hand of card in poker
 
I am working on an assignment that involves creating a simplified poker game. I am new to C++, but t...
[1 reply] : The problem is if you store everything as chars and strings it prints ... (by Mathhead200)
SFML Help.
 
I am new to GUI's, and I heard that SFML would be a great starter. After a while of struggling to li...
[1 reply] : daily can you tell me how you linked the SFML? http://www.cplusplus.co... (by hellohellomoon)
Class inheritance and constructors
 
I'm currently learning about class inheritance and constructors and I can't seem to figure how to ge...
[3 replies] Last: wow...like I said, I knew it would be simple. I just realized it was ... (by PhoenixUprising)
by Eaden
Output file bigger than real data
 
Hello, I have a char*, named 'buffer', loaded from a file and processed. After writing it to anothe...
[2 replies] Last: Oh I tried that, but you made me realize I forgot to open the output ... (by Eaden)
error: invalid types 'double [199][double]' for array subscript|
 
I am doing a school project I keep getting this error for my array operations starting at line 35: ...
[1 reply] : You can't use double to index an array. For example: double n=1 doub... (by helios)
by hma13
HELP needed to write this program.
 
'kl
[3 replies] Last: after reading the program over and over im getting a better under stan... (by hma13)
Class equivelant in C?
 
In simple terms, how can I make this work in C? I'm working on a robot program for virtual vex pi...
[4 replies] Last: Thanks for the help, I really appreciate it! (by JakeIsBoss)
Multipule Switch/Case
 
I have a question about the switch/case. I have a program that already incorporates the switch/case ...
[3 replies] Last: Thank you all for your help. I use the braces because that was the w... (by ajaustin12)
convert int to char
 
i just want to convert in to char so i can display it in button
[3 replies] Last: Do not use stringstream, that isn't the proper use for it, ostringstre... (by WilliamW1979)
[Linker error] undefined reference to `Download::download
 
hi, i have problem with this code to download files from url, i have search all over net, but can't ...
[2 replies] Last: That was your only error? I notice there is no #endif Without th... (by WilliamW1979)
access to bit from integer : a good way ?
 
I want to access a specific bit (say n ) from an integer b ; Using bitset class, this can be ha...
[4 replies] Last: Oh, your right, that's the easiest way ! Thanks -USherbPhys (by USherbPhys)
October 2011 Pages: 1... 1314151617... 36
  Archived months: [sep2011] [nov2011]

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