View Single Post
Old Nov 23rd, 2009, 6:57 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 8,035
Rep Power: 15 DaWei will become famous soon enoughDaWei will become famous soon enough
Re: C++ GUI Programming

If you're going to program in C++, then you need to do some research. The old C header files have been renamed. They are NOT precisely the same files. The new files deal with the std:: namespace.

Files such as string.h are now cstring (without the extension). As an example, math.h would be cmath. A file such as "cstring" is NOT the same as "string". Nor is it precisely the same as "string.h," though it is highly similar.

C++ appears, in many instances, to be a superset of C. Considering it thus works in many instances. Considering it thus is not a panacea. One example is that a C++ struct is not the same as a C struct. There are other differences. Do not rely on your knowledge of C to carry you through C++ programs. You will be sorely disappointed and your code will suffer greatly.
__________________
The person who coined the phrase, "There's no such thing as a stupid question," hasn't hung around here much.

Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
Politically Incorrect
DaWei is offline