View Single Post
Old Nov 23rd, 2009, 7:57 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 7,021
Rep Power: 12 DaWei 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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.

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