Jump to content
  • Advertisement
Sign in to follow this  
kilonum

How to learn C++?

This topic is 4672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
The best way to learn anything is to practice it. Get yourself a good book or two on it, and practice a lot with the material. If they give you an example program, then tweak it as much as you can. What should be going through your mind should be something like, "I wonder what will happen if I do THIS? Or what if I do THAT, then THIS, and add THOSE?"

That's the best way to learn any programming language, by practicing and experimenting.

Share this post


Link to post
Share on other sites
I recommend the book Accelerated C++, but you should also get a teacher/mentor who has a lot of C++ experience under their belt. Having someone to answer your questions is pretty important. And asking some questions on forums is often not as good since you'll also get a lot of people who don't know C++ that well giving you half baked answers.

Share this post


Link to post
Share on other sites
I suggest reading up the basic syntax, variable creation etc and then giving youself some simple takss to complete.

I found the best way of learning was to look up what i needed to know. Thes thigns tend to be most common.

Dave

Share this post


Link to post
Share on other sites
I was looking at a book called Sams Teach Yourself C++ in 24 hours, what do you think of that. For a mentor, Im in a small town not many people program

Share this post


Link to post
Share on other sites
Learn by making fun programs you would use yourself. Small little games, tools are quicky finished so you don't die of boredom but will teach you enough to keep growing. I'd suggest starting with command line tools as well. Don't worry about any fancy gaphics or windows coding until you know the basics.

Share this post


Link to post
Share on other sites
Quote:
Original post by kilonum
I was looking at a book called Sams Teach Yourself C++ in 24 hours, what do you think of that. For a mentor, Im in a small town not many people program


I usually don't recommend any of those "Teach Yourself x in 24 hours" for programming, because there is no possible way that you could ever learn a language in 24 hours (well, unless your IQ is like, 250 or something, but how many people are like that). I started programming when I was 9 years old, I'm 15 today (I'll be 16 in March), and I'm still learning a lot about C++. I suggest the book SiCrane presented, but hey, it's your choice.

For a mentor, you could always find somebody to talk to over MSN. I'm usually available (unless I'm coding or studying for exams or doing homework or something like that), but I'm usually available on the weekends. My MSN is thegrogen@hotmail.com, if you want my advice on anything.

Share this post


Link to post
Share on other sites
You live in a small town you say? So not many programmers around to help you...thats why the internet was created! Just get someone's AIM s/n and your good to go.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!