Jump to content
  • Advertisement
Sign in to follow this  
CptMinecraft

Where do I start learning c++

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

Hello I'm Cpt and I making a 2d 8 bit sandbox RPG game like Terraria. But the problem is I don't know where to learn c++ and what program to use for Mac to use to make the game. If you want any info I am running a MacBook and I have experience with photoshop and I would like to know if a can get a PDF of how to make a game using c++. And last if I make a game on Mac would it work on Windows when finished

See ya

-CaptainMinecraft

Oh and if you want info on the world of the game is going to be randomly generated with my custom terrain and you can break and place blocks

Share this post


Link to post
Share on other sites
Advertisement
A resource I can not stress enough is

'Professional C++' (2nd Edition), by Marc Gregoire, Nicholas A. Solter and Scott J. Kleper, it will bring you up to speed with well... alot of stuff. And most important of all - It teaches you HOW to program! It reaches on alot of topics, and its easy to approach. And if you download the source code that goes with it (and make sure you really go through it while reading), you'll pick it up in no time.

And you'll need to experiment alot to... it takes alot of time. I'm making the same journey myself

Share this post


Link to post
Share on other sites
I mainly use cplusplus.com as a reference site. Personally, I would buy a book and study C++ from it. There are quite a few articles on the internets about how to get a rendering system going, and you can experiment with game logic yourself.

Share this post


Link to post
Share on other sites

Seek no more: http://www.cplusplus.com/ biggrin.png That link will teach you C++, but not how to make games(that will come later on). For making games you should head to the resources - books.

Here you go a link we go: http://www.gamedev.net/page/books/index.html/_/technical/game-programming-9/beginning-c-through-game-programming-r1427

In the tutorial on cplusplus.com they have the blue and light grey sIDE on the program what program on Mac do you use to code?

Share this post


Link to post
Share on other sites
Don't bother with an IDE for starters. Just use your favorite text editor and compile with a terminal. It will teach you some fundamental things about compilers and if you ever switch platform you will always have a fallback in case you have no IDE since most compiler options share a similar interface.

Otherwise there's QtCreator, Eclipse, Code::Blocks, search stackoverflow for that one.

As for learning I recommend C++ Primer 6th edition. It has questions and exercises at the end of each chapter. It also covers C++x0 features.

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!