Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Looking for more info on c++

Name: Anonymous 2010-12-13 16:31

I've spent a bit of time messing in c++, working on expanding my knowledge of the language now I've finished at uni. I wrote a bit of a windows program, then started a new project in two different IDEs and compiled them. The compiled programs then behaved differently.

There's evidently something else going on under the lid, but I've never encountered anything about these things in books on coding c++ and such. Is there any good tutorials or just general documentation that explains things in more depth?

Name: Anonymous 2010-12-13 16:32

Don't use C++.

Name: Anonymous 2010-12-13 18:11

>>2
What he said.

Name: Anonymous 2010-12-13 18:21

http://yosefk.com/c++fqa/
This is a nice guide too

Name: Anonymous 2010-12-13 18:24

>>1
see >>2-3,5

Name: Anonymous 2010-12-13 18:37

Don't use C++.
youre safer starting out with C if you want to be self taught, the minor disadvantages that when you move on to C++ you will have to relearn the parts that are redundant with C. C++ books fall into 2 categories, they are either junk or very subtle. A book like Accelerated C++ reads very easy, like its just another run of the mill beginners book, but you wont catch on to whats really being taught unless you have a firm grasp on object orientation and memory management. The same goes for introductory C++ courses offered in community colleges, these courses are often taught on a simple superficial level that will only teach basic syntax constructs, but not the knowledge you need to use the language at its full potential. This is why only people who get CS degrees really learn C++.

Name: Anonymous 2010-12-13 21:53

>>16
I'm not saying C++ is bad;
You should. C++ is a bad language.
If you need to do something with Windows, go with C#.
If you have to work with Unix, there are plenty of better languages then C++.

Name: Anonymous 2010-12-13 22:14

>>17
If you have to work with Unix, there are plenty of better languages then C++.

Such as C.

Name: Anonymous 2010-12-13 22:48

>>19
I like C/C++ as a language,
There's no language named C/C++.
C and C++ are two different languages, C++ being a shitty one.
One of the things that bothers me off the top of my head is the #ifndef #define thing.
but why does the name after these things have to be in capitals?

It's just to distinguish between macro constants and variables.
And why do all the periods in it get replaced with underscores?
Because a period is not a legal character in an identifier.

I'll probably have to try and find some in-depth book or something on these things at some point,
I suggest K&R.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List