Where to start to learn C++ language?

Pages: 12
Hello, everyone. I got myself finally ahold of Enterprise edition from a friend who is currently studying in technical high school. ( I'm not exactly sure what it is called, but it's university level education, if not even better. )


I've managed to get everything installed, but as expected, everything is thrown as a big clump into my face. Is there any "beginner tutorials" that explain the very basics out of C++ language?

I tried out a guide to "Hello, World!" application, but it didn't quite feel like a good start honestly. Here is the link: http://msdn.microsoft.com/en-us/library/bb384843.aspx


Thanks for instance!
http://www.cplusplus.com/doc/tutorial/
you can use the Dev-C++ program to compile your source codes.
Last edited on
you can use the Dev-C++ program to compile your source codes.
Don't use Dev C++ it's old and bad

The MSDN example is a WinAPI program. If you want to learn plain C++ first see the tutorials nerasea linked
C++ programming Language Bjarne Stroustrup

You can read this book.really good book

you can use the microsoft visual studio 2010 express edition program to compile your source codes.
Last edited on
gracias por el aporte

firix wrote:
C++ programming Language Bjarne Stroustrup

That's a reference book, it's not for beginners at all. I recommend "Programming Principles and Practices using C++" by Stroustrup. Very complete and solid, and it's aimed at people with no programming experience at all.

filipe wrote:
firix wrote:
C++ programming Language Bjarne Stroustrup

That's a reference book, it's not for beginners at all. I recommend "Programming Principles and Practices using C++" by Stroustrup. Very complete and solid, and it's aimed at people with no programming experience at all.



I think for a start
it is not a good book.

citation:
am disappointed in Stroustrup's book. Mostly because he claims it is written for someone new to C++ but in actuality it is more advanced than a beginning level. He provides examples of concepts and techniques without a thorough explanation of what he is doing. If I did not have prior programming experience, I would have been completely lost. Some of the exercises in a chapter require material from later chapters to solve. The examples he uses in the chapters are often quite complex. The reader would need to already know a good deal of C++ to fully understand. I have not gotten the full benefit of the book for that reason. I could get more benefit by going back and re-reading some chapters after several more months of C++ programming practice.




firix, I learned C++ off of Stroustrup's book (PPP). Granted, I had programmed before (over a decade before), but while some of his chapters are complex and hard, once you get through you have a very solid foundation.

For instance, I often see people here trying to make calculators which are very, very clumsy and limited and can't read expressions and everything is hard coded. In chapter 5, if I'm not mistaken, Stroustrup introduces parsing and a grammar. It was a bit hard, I read that chapter twice, but now parsing comes naturally to me and those calculator exercises I mentioned seem useless and not even worthwhile of a beginner's time.

Stroustrup is certainly not the best writer, but his book was wonderfully useful to me, so I recommend it every time.
filipe, I learned c++ off of Stroustrup's book C++ programming Language Bjarne Stroustrup.

I think this book is also very useful.a matter of preference, of course.


Firix.



+1 for the C++ Programming language, I highly recommend it, used it to start with C++ myself.
closed account (z05DSL3A)
I would agree with filipe, in both aspects.

"The C++ Programming Language" is not a book for total beginners and "Programming Principles and Practices using C++" would be my suggestion for such a person. I have recommended the book to a number of people and they have managed to get on with it without problems. But when it comes down to it books are a very personal thing. What is good for one is not good for another, you should always read part of a book before you buy.

As for "I could get more benefit by going back and re-reading some chapters after several more months of C++ programming practice."; because of the very nature of learning complex things, you will offten get more out of good books with a re-read.
A module in the book: Graphics Classes


Do you think is not heavy for the beginner?
closed account (z05DSL3A)
Do you think is not heavy for the beginner?

Not if they work there way through to book and don't try to race ahead.
closed account (S6k9GNh0)
I wouldn't suggest C++ as a beginner language. Instead, use something higher level and probably a bit funner such as game engine language (such as Unreal Script). UDK is incredibly fun and easy to work with (despite the lack of documentation but you can consider that real life practice :D).
Gery Wolf wrote:
Not if they work there way through to book and don't try to race ahead.



this is my opinion.
And also I see that I'm right.
Last edited on
The graphics chapters are used to teach inheritance and how to use classes. I found them disappointingly boring, but FLTK is very easy to use, and it's certainly not nearly as complex as many things that come before in the book (parsing expressions, for instance).
firix wrote:
this is my opinion.
And also I see that I'm right.


What a ridiculous comment. It all depends on the readers skill set, interests, learning style, etc... I constantly reread books to reinforce what i've learned. There isn't one person on this forum that has complete mastery (although a few may seem to) and the only way to work toward mastery is through repetition and application. I personally have never read any of his books, but I have read at least 10 other C++ books front to back and even with my current skill set often reread chapters for clarification. I think it is also very important in any C++ book beginner or advanced to include chapters on various APIs such as Boost, Ogre3d, etc... Such material is usually presented in a manner where it can be skipped until the reader is comfortable with the material.

Return 0 wrote:


What a ridiculous comment. It all depends on the readers skill set, interests, learning style, etc... I constantly reread books to reinforce what i've learned. There isn't one person on this forum that has complete mastery (although a few may seem to) and the only way to work toward mastery is through repetition and application. I personally have never read any of his books, but I have read at least 10 other C++ books front to back and even with my current skill set often reread chapters for clarification. I think it is also very important in any C++ book beginner or advanced to include chapters on various APIs such as Boost, Ogre3d, etc... Such material is usually presented in a manner where it can be skipped until the reader is comfortable with the material.

you say is completely ridiculous.you make a comment about a book you can not read.
I have read this book and this book was useful to me.
Where is this nonsense?
Last edited on
firix wrote:
you say is completely ridiculous.you make a comment about a book you can not read.
I have read this book and this book was useful to me.
Where is this nonsense?


Where in my post did you read that I cannot read his books? I just haven't. For the most part I use other resources when I'm stuck on something, and most of the problems are 3d related anyway. I didn't say there was even anything wrong with the book, only something wrong with your comment.

return 0 wrote:

Where in my post did you read that I cannot read his books? I just haven't. For the most part I use other resources when I'm stuck on something, and most of the problems are 3d related anyway. I didn't say there was even anything wrong with the book, only something wrong with your comment.



my explanation is not bad.just did not want to extend.I said this is my idea.
Last edited on
Pages: 12