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.

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

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.

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 which try to dazzle and show you their knowledge dont you think so ?

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

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 which try 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.

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?

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.

You know of a C++ book that goes over that stuff in detail?


not without getting cryptic

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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.