Sign in to follow this  

How to learn C++?

This topic is 4395 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

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
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
I also just though of another question so i decided to post it here. Should i remain in windows to program in c++ or should i switch to something else. Thanks

Share this post


Link to post
Share on other sites

This topic is 4395 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this