|
-
Oct 27th, 2002, 06:05 PM
#1
Thread Starter
Good Ol' Platypus
I'm struggling....
Learning all of the language concepts of C++; basically, I was brought up on QBasic and GW-Basic and thus don't have a clue what is going on in the world of C++. I'd like to learn though.
Anybody recommend a book, for a basic programmer to learn C++ from the ground up? I'd also like for it to cover Windows-specific programming (ex. MFC/alternatives, Win32 callbacks), and Linux-specific programming. I suppose this may span 3 or 4 books, but if you know of them, name'em!
If they could be picked up at Chapters.ca it would be a plus.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 27th, 2002, 06:31 PM
#2
Monday Morning Lunatic
Learn the language first, rather than even *thinking* of any OS-specific code.
It should compile on any system, until such point as you decide to use OS-specific APIs or suchlike.
Thinking in C++ is pretty good (www.bruceeckel.com). After that, probably Petzold for Windows. I do have a book on GNU/Linux programming, but not really read it much yet. Any GOOD Unix book should cover the material, though, unless you want to know kernel-related stuff (which is most definitely C, not C++).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 27th, 2002, 06:35 PM
#3
Thread Starter
Good Ol' Platypus
I mentioned it because I have money NOW (not necessarily later), and need to know what books I can buy that'll cover the topic well.
How'd you learn, Mike?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 27th, 2002, 06:45 PM
#4
Frenzied Member
Originally posted by Sastraxi
I mentioned it because I have money NOW (not necessarily later), and need to know what books I can buy that'll cover the topic well.
How'd you learn, Mike?
The hard way =).
I still dont own a specifically C++ book, so I cant really recommend one. Sorry.
Z.
-
Oct 27th, 2002, 06:48 PM
#5
Monday Morning Lunatic
Originally posted by Sastraxi
I mentioned it because I have money NOW (not necessarily later), and need to know what books I can buy that'll cover the topic well.
How'd you learn, Mike?
TIC++ is free, and is all you should realistically need other than the Standard Library documentation for at least the first 6 months or so.
I learnt the hard way. BBC BASIC, then C (still on a BBC, wooooo!), then migrated to a bit of C on RISC OS. Tried to do C++ with MFC on the PC after a year or so with nothing, had great difficulty and tried VB instead. Got quite good, spent a couple of years there.
Then picked C back up again, and subsequently C++.
At which point I learnt about iterators and started getting good with templates. That took me the next two years or so.
Basically, I had a nasty journey to where I am, which is why I say learn good C++ *now* rather than later, when you've been ruined by another language.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 27th, 2002, 06:49 PM
#6
Thread Starter
Good Ol' Platypus
I'm reading the electronic version of the book that Parksie recommended, and I think it's really cool. I've just read the part about abstraction and I think it's a neat concept. I especially like the idea of calling one thing, and the object decides what to do with it, either inheriting its parent's method or using its own. Very cool stuff.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 27th, 2002, 06:54 PM
#7
Monday Morning Lunatic
Wait until you get onto generic algorithms using containers, they're fantastic (and exceptionally efficient, because they're mostly evaluated at compile-time).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 27th, 2002, 07:05 PM
#8
Frenzied Member
Welcome to the world of cool stuff =).
Z.
-
Oct 27th, 2002, 07:34 PM
#9
Thread Starter
Good Ol' Platypus
Hehe 
I had to take a break for a nap, but now I'm back and reading more C++!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 28th, 2002, 08:07 AM
#10
C++ lets you do the coolest things. Mostly thanks to templates, polymorphism and operator overloading (two of those concepts are missing in Java).
Is your avatar Morla, Sas?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 28th, 2002, 04:37 PM
#11
Frenzied Member
Originally posted by CornedBee
C++ lets you do the coolest things. Mostly thanks to templates, polymorphism and operator overloading (two of those concepts are missing in Java).
Is your avatar Morla, Sas?
Templates are the most beautiful things in the world =).
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|