Any recommendations?? Thanks!
Learning C/C++ from beginning?
Blogs > stalife |
stalife
Canada1222 Posts
Any recommendations?? Thanks! | ||
keV.
United States3214 Posts
| ||
haduken
Australia8267 Posts
Better than any book. To make it useful Pick up a book that teaches you frameworks once you are done. Qt, Visual C++, etc.. and learn libraries such as boost... Understand the strength of C/C++ versus say Java. Understand the application of such strength where it fits. Understand the downfall and weakness of C/C++. | ||
imDerek
United States1944 Posts
go with c first though | ||
Marradron
Netherlands1586 Posts
You might as well learn c# or something like that. seems a bit more advanced than c++ | ||
Aim Here
Scotland672 Posts
On January 21 2010 18:41 imDerek wrote: c++: the book by bjarne stroustrup the author himself. go with c first though I disagree. If you're planning on writing C++, then learn it straight off. C++ is superficially a superset of C, but the philosophy and the mindset of writing C++ code is very different from that needed for C code. Plus, old C hands are likely to get into the bad habit of using C-isms, like malloc/free or pointer manipulation, rather than use the C++ variants. Not that I'm opposed to learning C - C is a much nicer, cleaner language than C++ and is worth learning as the only low-level language you really need. C++ on the other hand, unless you have a specific need for it, I'd recommend saving all that memory space you'd use for C++ and using Java or Python or C# or something instead... | ||
BlissX1
United States328 Posts
| ||
Amnesty
United States2054 Posts
Pretty good book. Actually uses C++ | ||
Aim Here
Scotland672 Posts
| ||
iaretehnoob
Sweden741 Posts
On January 21 2010 19:16 Bl1ss wrote: Fortran is amazing. all the C stuff looks like total uselessness compared to Fortran cause Fortran is so efficient. That's why NASA uses it. | ||
mptj
United States485 Posts
| ||
FirstBorn
Romania3955 Posts
I'm going to second this, VERY usefull site. Helped me a ton with getting the hang of C/C++. | ||
agorist
United States115 Posts
C++ second. What is your current skillset? Know the difference between the heap and stack? Can you wield pointers? | ||
CTStalker
Canada9720 Posts
this is the book you'll use to learn C | ||
araav
Armenia1590 Posts
C++ is a moderate OO language and I would recommend doing it this way - first pick an easy book, not a fancy one, like any book for dummies, get the grasp of pointers, templates, classes, encapsulation, polymorphism, etc then go for more master series, like take Effective/More Effective C++ books. then go for expert series, like Alexandresku then take up the C++ standard and make it your bible this is your true path of a C++ guru | ||
Neshapotamus
United States163 Posts
| ||
Amnesty
United States2054 Posts
The problem is you don't end up learning C++ next. You learn a bastard child mish mash of both next. Its like you are learning C but with some cool classes thrown in. And its just bad. It's not that the C language is horrible, its not. The problem is coding C++ in a C POV that is horrific. The main problem with that is you won't even realize you are writing bad C++ code so you wont even try and fix it. It takes a lot more effort to unlearn C to learn C++ God have mercy if you read a whole chapter on macros in C and then crack open a different C++ book. And a lot of C++ books are really C books in disguise beware. Start with the book I recomended. I really wished that book came out a lot earlier. You didnt say why you wanted to learn C++. There might be a better option for you. Right now, im using C#/WPF for my project. It would be a nightmare to do using other options. | ||
Marradron
Netherlands1586 Posts
| ||
Flaccid
8826 Posts
What type of projects are you looking to do? I ask because you might want to consider spending that time learning C# (as others have said) instead. The thing about C++ is that it can be tough to jump into because it can be so convoluted. It's just been built upon and built upon until there are 100 different ways to do any one thing and you end up agonizing over which is the 'best' way. C#, on the other hand is much more intuitive (C++ is only intuitive to those that have coded C++ for the majority of their lives) and you will climb the learning curve much more quickly. Microsoft is pushing it hard too so each update to the framework brings more and more useful goodies. I coded C++ and C for years and have switched almost entirely to C#. Another nice thing about C# is that you can jump right into coding web-applications and ASP for web junk, if that's an ambition of yours. Anywho, if you do decide to go that route, these guys have a nice series of books for each step of the learning curve: link | ||
ProoM
Lithuania1741 Posts
On January 21 2010 18:28 haduken wrote: www.cplusplus.com Better than any book. To make it useful Pick up a book that teaches you frameworks once you are done. Qt, Visual C++, etc.. and learn libraries such as boost... Understand the strength of C/C++ versus say Java. Understand the application of such strength where it fits. Understand the downfall and weakness of C/C++. Knock knock. Whos there? -After very long pause- Java. | ||
| ||