Are there any good books that are perfect in teaching C++? Preferably a book that also has exercises for you to complete at the end of a section or something.
Contrary to most requests for suggestions, I actually prefer an E-book I have to pay for.
I have Sam's Teach Yourself C++ in 21 Days. It's pretty good, but I'm not sure how well it stands against other such books. Ignore the 21 days thing, though, since you'd probably spend a lot more time on it than that.
[quote]Preferably a book that also has exercises for you to complete at the end of a section or something. [/quote]
And it does have this kind of stuff.
Edit: I missed the e-book thing, but there does seem to be an e-book version too.
[QUOTE=BlkDucky;28968036]I have Sam's Teach Yourself C++ in 21 Days. It's pretty good, but I'm not sure how well it stands against other such books. Ignore the 21 days thing, though, since you'd probably spend a lot more time on it than that.
And it does have this kind of stuff.
Edit: I missed the e-book thing, but there does seem to be an e-book version too.[/QUOTE]
Agreed, if you can get this online get it. It's a very handy reference, well layed out, and it covers basically all the basics so you can start learning about more difficult things.
The C++ Programming Language Third Edition is really good, it does have exercises as well.
[url]http://www2.research.att.com/~bs/3rd.html[/url]
There's a wealth of high-quality free content and tutorials out there.
Is there any reason why you want to have a paid version?
Accelerated C++ meets all your criteria and is probably one of the best c++ books out there.
[QUOTE=Pirate Ninja;28981718]Accelerated C++ meets all your criteria and is probably one of the best c++ books out there.[/QUOTE]
I've heard Accelerated C++ is practically made of awesome.
Also try iTunes U. MIT, Stanford and others have a bunch of programming classes.
I have Starting Out with C++: Early Objects.
It contains loads of code examples and also exercises ( both theory and implementation ).
It's quite good in my opinion.
Amazon: [url]http://www.amazon.com/Starting-Out-Early-Objects-6th/dp/0321512383[/url]
Just a quick note about books, and I've said this in another thread as well but it bears repeating: Make sure you get something current, not something published in 2001. For programming I suppose it's not super important, since the language you're learning might not have changed or whatever, but the point is it's always good practice to get something up to date - if for nothing else than the fact that the exercises and examples it presents might be more relevant to you.
When learning C++ please also remember that apart from learning the language itself and its constructs you should also get to know the STL pretty well.
Are there any that teaches you stuff other then console apps (Input something, output something via Cmd)?
[editline]8th April 2011[/editline]
Like an API or GUI app for example, if those are the right words.
[QUOTE=Starpluck;29053495]Are there any that teaches you stuff other then console apps (Input something, output something via Cmd)?
[editline]8th April 2011[/editline]
Like a API or GUI app for example, if those are the right words.[/QUOTE]
I as well would like to know a tutorial that will teach this. After my 100th console app its getting boring.
After you know some C++ you can download GUI libraries, they usually have some form of tutorial and documentation.
Popular examples of higher-level GUI toolkits include (in no specific order) GTK+, Qt, FLTK, FOX and wxWidgets.
Otherwise you can also use the system native toolkits (e.g. Windows USER (WinAPI) for Windows, Cocoa for OS X I think).
What would you suggest as the best one (I'll be developing for Windows only)
[url]http://www.cplusplus.com/doc/tutorial/[/url]
Better than books believe me.
[QUOTE=vBatuhan;29056434][url]http://www.cplusplus.com/doc/tutorial/[/url]
Better than books believe me.[/QUOTE]
Definitely not better thank a book, but the website in general is a handy reference.
Sorry, you need to Log In to post a reply to this thread.