captainc Messages: 278 Registered: December 2006 Location: New Jersey, USA
This is an open question to everyone, though I'd love to hear from Mirek and Tomas and the other U++ developers too.
How did you learn C++?
What books did you read? What classes did you take? What process do you recommend to master C++? What are the important things to know and parts of C++ to concentrate on? What were the major problems you encountered while learning?
I would also like to hear some advices how to master C++ and also i will like to hear how others approached C++.
I'm still learning how to master C++ as i don't know it as is described by C++98 and C++0x standards . Officially, this is my first year learning C++ in university at POO course. I started learning computers programming as autodidact and C++ was my first language. Still don't know all features of C++ but day by day I'm improving my knowledge. Now i hope to hear how Mirek, Thomas, Daniel, Max, James and others learned C++. Common guys, don't be shy , I don't know how you leave over this post.
I can not give you a good answer as my path to C++ has not been straight.
My only clear guide was The C Programming Language. An excellent book.
For me Bjarne Stroustrup The C++ Programming Language was too hard to read (or worst).
I learned C++ from simple books and after that I have only used a percentage of the full C++ as it is too complex to fit in my head!. I really think it is enough, and after finding Ultimate I think it is all that I need. Perhaps if you think full C++ is too complex for you, you are simply right. You do not need it all.
Fully agree. I have a colleague that is working with C and I am helping him. I am helping him to enter in C++ in the areas that C++ is just a better C. For ejample:
- To let a function to change the value of some variables
-- In C you have to give a pointer
-- In C++ you can give simply references
As pointers is a problem for non experienced and experienced programmers in this case is much simpler to use references
- To group variables very related:
-- In C you use structs
-- In C++ you can also use classes
The class is just a better struct
In opposite to Java or C# you can do programs in C++ that really seem C