C++ Learning Community Forum
August 01, 2010, 02:49:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: New to C++  (Read 1000 times)
Martn
N00b!!1
*
Posts: 2


View Profile
« on: February 21, 2008, 06:50:48 PM »

Hi Everybody,

I'm new on this forum and a few days ago I started leaning C++. Before I was making websites in php & mysql but I think that's a bit boring and I wanted to learn something new. I *bought* Accelerated C++ and started with it. I could understand the beginning but after 3 chapters or so I couldn't understand it anymore. I think it's a good book and things like the for and while loop are quite easy to undertand (php Cheesy). But after that it went to fast.

Now my question is does anyone have tips for leaning it, is Accelerated C++ the best way to learn it and is it my problem I can't understand it anymore or does anyone have a suggestion for another good book? I downloaded the Thinking in C++ books and they look fine but does the TICPP books teaches me correct C++ and something I noticed that the writer doesn't use return 0; at the end of the main() function.

I hope this message is well readable (I'm Dutch so my English is not one of the best Tongue)

Kind regards,
Martijn
Logged
adeyblue
Dr. of C++ology
****
Posts: 653

Taming the turntables a beat at a time


View Profile WWW
« Reply #1 on: February 21, 2008, 11:45:00 PM »

Accelerated C++ is one of the better books for learning modern C++ (i.e. without learning the details of its C heritage) but it does assume prior knowledge of programming and certain concepts, which a background in PHP should provide for the most part (as it's a C like language). I don't have the book, but if there are exercises at the end of the chapters, I advise you do them before moving on.

TICPP is also a good introductory resource that's often recommended for beginners. There's not a return 0; as, for main, it's implied if absent. Note that this only applies to main, in any other function you must return explicitly unless returning void.

If you get stuck on why something is, or what its for, look it up in the other book, google it, or just ask here and we'll try and explain it. Don't be discouraged if you don't get everything on first reading, C++ is a complex beast, stick with it and you'll eventually come out the other side.
Logged

Martn
N00b!!1
*
Posts: 2


View Profile
« Reply #2 on: February 25, 2008, 01:09:10 PM »

Ok thanks for your replay. I will stick with Accelerated C++ and I will use TICPP as a reference.
If i get stuck i will ask it in these forums Wink

Hava a nice day...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!