General C++ Programming - March 2010 (Page 15)

what, if anything, is missing?
 
Hi, I have the headers to a binary tree and it's node class. These headers are not mine but they app...
[no replies]
by mar11
set container
 
Hi all, let us consider this example on cplusplus // set::begin/end #include <iostream> ...
[5 replies] Last: That's convoluted. (by jsmith)
by Bezi
Compiling a source file
 
If I have a header file "test.h" and a corresponding source file "test.cpp", what are the steps I sh...
[no replies]
fatal error LNK1561: entry point must be defined
 
Hello, I have this error with Visual C++ 2008 express edition. fatal error LNK1561: entry point mus...
[3 replies] Last: The SDL headers #define main as SDL_main. Ostensibly, so that a differ... (by helios)
Segmentation Fault. Why I don't know.
 
This program crashes as soon as it hits the line below(please search for the word "CRASH" to see the...
[4 replies] Last: The "Log" statement is our way of logging error messages to a central ... (by kgeorgie1)
Undifined behavior or something else?
 
What will printed to console, VS2008 prints 0. why, is it correct? because i read that: 4.9 Floati...
[1 reply] : I would image that it will print 0 because: char value ranges 0 (bina... (by chris)
How to read character strings
 
Can someone show me how to do the following? I do not have the slightest clue Part C - Reading c...
[1 reply] : How much code have you written ? (by bluecoder)
How do i get this C++ source code to display an actual total?
 
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main () { ...
[1 reply] : total of what ? what exectly do you want to achive ? (by bluecoder)
pointer to derived class query
 
Hey All, I'm quite new to C++ and I have a query regarding pointers and derived class objects say I...
[3 replies] Last: Thanks for your replies guys. It really helped me. I'm just trying to ... (by lazybones1987)
changing variable within loop - so this is not possible?
 
hi is anyone able to help me on this? for example if i have code like this #include <iostream...
[14 replies] Last: I found a way to solve my probelm. Thank you all who helped me :) For... (by whoami32)
Keyboard
 
I have to write a C++ program that reads in 10 numbers from the keyboard and then add them together....
[10 replies] Last: Can someone do this for me? Hm. They're not even trying anymore, are ... (by helios)
How To Use C++?
 
I'm sorry, this is a dumb question but... I'm attempting to learn C++ language & I'm not sure whe...
[2 replies] Last: If you're doing a lot of programming with Windows then Visual Studios ... (by Dudester)
How to watch static variable in function? (in VC6 debug mode)
 
This is my code: # include <stdio.h> # include <string.h> # include <ctype.h> // ------------...
[7 replies] Last: Oh... I found the problem. static NextToken nextToken ; // nextT... (by Robertsong)
by jt1991
FORMULA!!!!!!!
 
ok, not really want u to help me do my homework, just want to know the formula... the program pro...
[7 replies] Last: ok i think i try to call it out... thanks though (by jt1991)
how to skip an input value?
 
I have a simple code, written below. I wish to skip/or not interested to enter the value of "a" at c...
[4 replies] Last: The solution suggested by maikel is perfectly well. It works exactly a... (by serge)
can anyone assist me with fixing these errors on a simple C++ assignment?
 
The following is the assignment Shipping Charges The Fast Freight Shipping Company charges t...
[1 reply] : Ok. The code is a little messed up, so seems to me. Did you lose th... (by maikel)
Ostream operator overloading
 
Trying to write my own complex number class, when I overload the << operator as below, it compiles f...
[4 replies] Last: Wow stupid mistake, thanks. (by tonyg362)
Class Errors
 
Hello Everyone! I am having some problems with declaring a class and am getting many errors. ...
[6 replies] Last: Thanks for all the help Maikel! (by ohsnap1319)
by ramsci
gprof question
 
Hi experts, I need to gprof a library in our system to examine the function calls and see if we c...
[no replies]
New vs opeator new
 
A common interview question: Explain the difference between new and operator new. I have googled,...
[7 replies] Last: Mixing new/delete and malloc/free is generally a bad idea. (by tummychow)
March 2010 Pages: 1... 1314151617... 23
  Archived months: [feb2010] [apr2010]

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