9 Replies - 5794 Views - Last Post: 02 February 2011 - 07:38 AM Rate Topic: -----

#1 GabrielF7  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 2
  • Joined: 01-February 11

Best way to learn C++

Posted 01 February 2011 - 10:21 AM

I want to learn C++ and I'm wondering what the best way to learn it is. Any recommendations?
Is This A Good Question/Topic? 2
  • +

Replies To: Best way to learn C++

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10397
  • View blog
  • Posts: 38,466
  • Joined: 27-December 08

Re: Best way to learn C++

Posted 01 February 2011 - 10:22 AM

Write code in it. That is the only way to learn any programming language. You might be interested in check out the DIC C++ Tutorials section for resources. :)
Was This Post Helpful? 3
  • +
  • -

#3 TMKCodes  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 48
  • View blog
  • Posts: 440
  • Joined: 21-March 09

Re: Best way to learn C++

Posted 01 February 2011 - 10:32 AM

I have been suggesting http://www.learncpp.com/ for those who want to learn C++, but I have not read it myself. As macosxnerd101 said the only way to learn is to code. Read the tutorials and try them out and edit them a bit and do some more coding on the side.
Was This Post Helpful? 3
  • +
  • -

#4 chinchang  Icon User is offline

  • Indie Game Developer
  • member icon

Reputation: 192
  • View blog
  • Posts: 725
  • Joined: 22-December 08

Re: Best way to learn C++

Posted 01 February 2011 - 10:45 AM

Take up a small project and then just start off with it. Whenever you get stuck with something, look into some references on the Internet for syntax. By the end of your project you will have learned many things and actually implemented them. This would help you have clear concept & retain them as you have already used them.

Thats just my way of learning :)

Hope it helps.
Was This Post Helpful? 4
  • +
  • -

#5 vBx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 14-May 10

Re: Best way to learn C++

Posted 01 February 2011 - 01:15 PM

Read a book that has exercises at the end of every chapter,that way you learn match better (Thinking in C++ vol 1 i guess is a good book for beginers).
Was This Post Helpful? 0
  • +
  • -

#6 Alex6788  Icon User is offline

  • kitties == adorable


Reputation: 144
  • View blog
  • Posts: 1,667
  • Joined: 15-July 10

Re: Best way to learn C++

Posted 01 February 2011 - 07:09 PM

I see a lot of people say online that they've been learning to program but haven't done any coding at all (as in just reading books and syntax but not making any programs or even touching a compiler) In my opinion this isn't a good way to learn to program. I would read a good programming book and some good tutorials online (http://cplusplus.com/ has great tutorials) and test out all the little programs they show. You could also look up some good small programs to make for beginners, like a guess the number game, a calculator, and add on to them once you learn more. Hope you can use some of this info :)

This post has been edited by Alex6788: 01 February 2011 - 07:09 PM

Was This Post Helpful? 2
  • +
  • -

#7 eker676  Icon User is offline

  • Software Engineer
  • member icon

Reputation: 378
  • View blog
  • Posts: 1,833
  • Joined: 18-April 09

Re: Best way to learn C++

Posted 01 February 2011 - 08:28 PM

If your a complete beginner to the programming world then I suggest getting a book.

Why a book? Everything is organized in a logical manner from start to finish. Online tutorials jump around and are not as complete as a book.

My personal favorite is Practical C++ Programming
Was This Post Helpful? 1
  • +
  • -

#8 ishkabible  Icon User is offline

  • spelling expret
  • member icon




Reputation: 1622
  • View blog
  • Posts: 5,709
  • Joined: 03-August 09

Re: Best way to learn C++

Posted 01 February 2011 - 08:34 PM

i never read a book on the basics of C++ but it would have benefited me greatly if i had. here is the process that i think everyone should go though

read,try,read,try,read,try,ect... until you feel you have an understanding of it. once you feel you have an understanding of it, do something with to check. when i first started programing i tried to come up with a practical solution for everything new little thing i learned, i would recommend doing this as it really got me to think about how and why things are used. i struggled with why pointers or why structures where used and for what but eventually i got the hang of it.
Was This Post Helpful? 3
  • +
  • -

#9 GabrielF7  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 2
  • Joined: 01-February 11

Re: Best way to learn C++

Posted 01 February 2011 - 09:01 PM

Thanks for all the recommendations guys! :)
Was This Post Helpful? 0
  • +
  • -

#10 newclearner  Icon User is offline

  • D.I.C Regular

Reputation: 103
  • View blog
  • Posts: 302
  • Joined: 29-September 10

Re: Best way to learn C++

Posted 02 February 2011 - 07:38 AM

Read and practice.
Some problems for practice are available here:
projecteuler.net
Matyr's Mega Project List
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1