Is learncpp.com good for beginners? [closed]
In my search for a good, freely available resource that will teach me C++ I stumbled on http://www.learncpp.com/.
My question is for intermediate to experienced C++ programmers...
Does this site seem to be a good resource for a beginner to learn C++ from?
I'开发者_Python百科ve gone through the first few section of the site, and I feel like I am starting to grasp the language, but being a beginner in C++ I really could be learning things all wrong and have no idea.
EDIT: After doing some research on this topic, and reading the answers and comments here, it seems like if I do the tutorial, read Accelerated C++, and then read Effective STL... I'll be on the right track. Of course, I'll be writing programs to solve project Euler programs and such. Do any of you have a better idea for a beginner with intentions to become competent in the language?
The site does not look too bad.
However it really is a tutorial, in that it just explains the very basic concepts of C++.
Notably, it completely misses an introduction to the STL and the proper use of it. You barely see std::cout
and std::string
. There's no mention of <algorithm>
that I could see of and no mention of the <vector>
or <deque>
or <map>
which are the most commonly used containers in C++.
It may not hurt you to learn with this site, but you'll only have a very basic level when you're done with it.
If you want to learn C++ the right way I strongly recommend you purchase a copy of Accelerated C++. It is the best C++ book for a beginner without a doubt.
Although the few pages I looked at seem reasonable, any instruction on C++ that recommends the use of Hungarian Notation completely misses the point and is thus suspect.
This site doesn't look too bad, but I don't think it's great either. A great free resource to learn C++ is the book "Thinking in C++". It's simply outstanding and I heartily recommend it to you. The other thing I recommend you is to start writing some code in C++ right now! Project Euler is my favourite source for beginners programming tasks(especially if you like math ;-) )
When I was in the university I was using the http://cplusplus.com/. I was quite satisfied with everything there.
It doesn't hurt to start of learning a language through a tutorial, but keep in mind that a tutorial may not (will not) cover all topics of a language. There are always better things than tutorials, like a book and a compiler.
I would recommend that you base your study on a good book like The C++ Programming Language (Third Edition and Special Edition) by the creator of C++ Bjarne Stroustrup.
It doesn't necessary have to be this book, it can be any useful book that other programmers have used and learned from. Books are also programmers tools.
I'm currently reading the C++ tutorial at learncpp.com and think it's great!
For a C++ beginner, like me, that is. You won't get all the answers, but do you really want that as a C++ beginner? I would say no. At least, I don't.
What you will get are lot's of short answers to questions about basic C++ concepts, that I believe will be helpful when you later learn about other aspects of C++.
As I said, I'm a C++ beginner, but I have used PHP for several years. I would't say I'm a PHP expert, but I'm not a beginner either, so I think I more or less know what I'm talking about when it comes to languages resembling PHP, like C++.
Yes.
The tutorials have a comment section, and the admin seems to be responsive to questions there. This indicates that there is some accountability for the material in the lessons.
I have been using C# for several years... Sometimes I have to work with legacy C++ code (some dated back to VC6, written 10 years ago), but I didn't understand the basic of C++ quite well, for example, how the header files work, and why c++ compiler requires the forward declarations,as well as the extern keyword. So I decided to find an online tutorial to learn some basics of C++, and this is what i found, learnCPP.com!
The tutorial is very well-written, in plain, comprehensible English, I hardly have to turn to the dictionary:-) (I am not an English speaker). Now I have been learning on this site for a couple of months, and I have to say everything I need to know to START programming in C++ can be found in this tutorial.
Admittedly this tutorial is not "an encyclopedia for the basic of C++", it does not include a dedicated chapter on unicode, or another chapter on the crt... but this tutorial is not meant to cover these topics, otherwise there will be much much more chapters in this tutorial.
Try and enjoy!
Learning by doing was the only thing which helped me to understand it. For example, if you want to learn templates and operator overloading, writing your own vector class which uses templates for the datatype of the elements and the length and operator overloading for all the operations as well as assignment will be an lengthy exercise which requires quite some nerves at first ;) But you will realize that you learnt how C++ actually works.
While I advice to write some small stuff as the example illustrated above, following the tutorial to learn the syntax and a the very basics probably isn't bad for a start.
精彩评论