954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Best way to learn

Hello Everyone,

I was just wondering if people could tell me what they think is the best way to learn C++, and link to some tutorials maybe? Recomend a book, ect.

Maybe I havn't found any good tutorials....But the ones I have seen aren't very good.

Help Apreaciated.

Brendan.

Wreef
Light Poster
40 posts since Aug 2006
Reputation Points: 10
Solved Threads: 1
 

Get a good book like Accelerated C++ By Andrew koenig and Barbara Moo.

Grunt
Junior Poster
152 posts since Jul 2006
Reputation Points: 197
Solved Threads: 12
 
Hello Everyone, I was just wondering if people could tell me what they think is the best way to learn C++, and link to some tutorials maybe? Recomend a book, ect. Maybe I havn't found any good tutorials....But the ones I have seen aren't very good. Help Apreaciated. Brendan.



Do NOT... For any reason go out and spend 90 bucks on a college style book... You'll only get disappointed. For some reason programmers like to try and dazzle you with their knowledge and fancy terms. To avoid this try going to Barnes and Nobles and pick up "The absolute beginners guide to C" for 20 dollars. I have never heard any of the people I recommended this book to complain about it.
That and don't be ashamed of the "C++ for dummies" books either. They have foot notes you can remove from the book and some come with free compilers.
The greatest thing is that they are in laymans terms so you can actually read and learn the material besides just sit with a thesaurus and guess the terms.

kingvjack
Light Poster
28 posts since Aug 2006
Reputation Points: 13
Solved Threads: 0
 
Do NOT... For any reason go out and spend 90 bucks on a college style book... You'll only get disappointed. For some reason programmers like to try and dazzle you with their knowledge and fancy terms. To avoid this try going to Barnes and Nobles and pick up "The absolute beginners guide to C" for 20 dollars. I have never heard any of the people I recommended this book to complain about it. That and don't be ashamed of the "C++ for dummies" books either. They have foot notes you can remove from the book and some come with free compilers. The greatest thing is that they are in laymans terms so you can actually read and learn the material besides just sit with a thesaurus and guess the terms.

Is this the reason why these books never mention the complexity of scanf function, never mention that using gets after scanf may result in disaster, never mention that fgets is the best way to take in strings, never mention that fflush (stdin) has undefined functionality ?

These things appear in the posts of programmers whichtry to dazzle and show you their knowledge dont you think so ?

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 
I was just wondering if people could tell me what they think is the best way to learn C++

Writing code. A lot of people post questions here. Attempt to answer them. The critiques you get are wonderful for learning.Recomend a book, ect. C++ Books (skickied in this forum)
But the ones I have seen aren't very good.Sadly, too true.

I haven't checked this one out in ages, but here is one I know of. http://www.cprogramming.com/tutorial.html#c++tutorial

We also have one here, but I haven't visited it much either.
http://www.daniweb.com/tutorials/forum21.html

Dave Sinkula
long time no c
Team Colleague
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
 
Is this the reason why these books never mention the complexity of scanf function, never mention that using gets after scanf may result in disaster, never mention that fgets is the best way to take in strings, never mention that fflush (stdin) has undefined functionality ? These things appear in the posts of programmers whichtry to dazzle and show you their knowledge dont you think so ?



A beginner generally does not need to go into too many details. A beginner (meaning "Basic") might find some things a little overwhelming. Thanks for replying to my post though.

kingvjack
Light Poster
28 posts since Aug 2006
Reputation Points: 13
Solved Threads: 0
 

Thanks everyone.

I'll try to go out and get a good book this weekend, probably one like C++ for dummies or something.

I got the compiler covered though, I can get a legal copy of Visual Studio Professional cheap, through my Dads work (A university).

Anything else I should know?

Wreef
Light Poster
40 posts since Aug 2006
Reputation Points: 10
Solved Threads: 1
 
Is this the reason why these books never mention the complexity of scanf function, never mention that using gets after scanf may result in disaster, never mention that fgets is the best way to take in strings, never mention that fflush (stdin) has undefined functionality ?

You know of a C++ book that goes over that stuff in detail?I was just wondering if people could tell me what they think is the best way to learn C++, and link to some tutorials maybe? Recomend a book, ect.

I prefer Brad Jones' "Teach yourself C++ in 24 days".... In my opinion it covers material better than any other C++ book I've read. "The C++ Programming Language" by Bjarne Stroustrup is excellent, but you'll probably want a little knowledge before getting into that one.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

[quote=server_crash]You know of a C++ book that goes over that stuff in detail?




not without getting cryptic

kingvjack
Light Poster
28 posts since Aug 2006
Reputation Points: 13
Solved Threads: 0
 

you dont need to buy any book, just read this tutorial: http://cplusplus.com/doc/language/tutorial/

make sure you understand most of the basic stuff (variables, functions, pointers)
its not very hard, it just needs some time to work with.. more you program, easier you understand new stuff...

psycho^
Newbie Poster
5 posts since Aug 2006
Reputation Points: 13
Solved Threads: 0
 
WoBinator
Newbie Poster
22 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You