Jump to content
  • Advertisement
Sign in to follow this  
Daethar

How does one get started with c++?

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

It's such a wide spectrum, and I know this is most likely widely asked, but how does one get started with programming, most notably c++?

Share this post


Link to post
Share on other sites
Advertisement

I'd advise against cplusplus.com. I've found numerous bugs in sample code in their reference pages, and some significant typos as well. I've tried emailing them, and I received a response from a guy that didn't speak English well enough to truly understand what I was saying.

By the way, can anyone explain to me how the reference implementation on this page will ever return a negative value: http://www.cplusplus.com/reference/string/char_traits/compare/

Share this post


Link to post
Share on other sites

Start writing code.   Decide on a small project and get going.   Use a good IDE with and step through your code early and often so you can see how things are working.

 

I'd also read this piece from the creator, as well as Meyers' books, for starters.

 

http://www.stroustrup.com/new_learning.pdf

Edited by Snovi

Share this post


Link to post
Share on other sites

If you already know another language, I suggest writing a small program you are already familiar with and converting it to C++. A lot of things will be the same, some things will be completely different.

 

A small tip: when you get the the tutorials about pointers, read/listen to them at least 3 times. Pointers are hard to really understand if you haven't used them a lot. If you have already worked with pointers, simply ignore this tip.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!