Originally Posted by Zboy
i took a semester of C, and plan to take the required C++ class next year. i often hear people complain about the difficulty of the class, and i won't be able to spend too much time on the class due to my schedule, so i want to get a head start and learn C++ now. my question is - what would be the best way for me to learn?
i've tried learncpp.com but it's too much reading for me
. even with my C class, i never read the book
. i just did all of the assignments and googled something whenever i had a question. programming is just more hands-on, and i end up focusing and learning more from doing something rather than reading about it
Edit: Please don't take this as a flame. It's only well-meaning advice from my life experience.
You will never make it in programming with that attitude. When I took C++ in college, I was shocked at the number of people who refused to read the textbook and wondered why the class was hard, but I never saw people who studied the book having any problems. The logic in a basic C++ course is easy, you just need to read the textbook and then code some of the problems it gives (preferably the harder ones as one hard problem is worth all those easy ones before it and then some). There are no shortcuts to being a good coder. The job's not as easy as many first believe and reading/research is required.
Programming involves constantly reading to make yourself better at your job and able to understand your job. Need a new library? That's hundreds of pages of documentation to actually understand what you're doing. You either read the documentation now or read it when the bugs start pouring in because there were side effects you didn't know about (hint: the second option will hose you completely). Have a hard question about some problem? The chances are that the correct answer is in some 100+ page paper a researcher did a couple of years ago. Any subgenre of programming you can think of requires hundreds of hours of reading about the code and problems involved. If you are asking questions to your peers and the questions are clearly answered in the man pages, it won't take very long before you just get angry "RTFM!!" answers.
I and several others on this site are more than willing to help you, but we won't be able to make up for you reading the proper resources (and you'll simply be reading what we wrote on the fly instead of what was written by someone who had checks and reviews to ensure readability and perhaps accuracy).
Edited by hajile - 6/8/13 at 3:10pm