Jump to content
  • Advertisement
Sign in to follow this  
Kevin Paul Kurian

C++ and C#

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

I had some experience with c++  but it has now been three years since I have coded anything.Should I try and brush up my C++ or dive straight in to C#?I ask this because Iv heard C# is more flexible and thus will be more useful for me to make games.

Also what is the best documentation/book to learn either from?

Share this post


Link to post
Share on other sites
Advertisement

Would you like to make games, or program?

 

I suggest finding a simple language. Python, perhaps. It'll save confusion and let you focus on what you want to do.

 

If you know programming basics, you can even join a team as a designer. I looked on Reddit, and there are great teams out there!

 

Also, you need people skills. You can train that too. :)

Share this post


Link to post
Share on other sites

Both C# and C++ are good choices.

 

For C++, you want to learn about C++14 or C++11 at least, which you probably haven't really seen yet.

 

C# uses a very different way to store values into variables (it's called reference semantics), compared to C++. If you switch to C#, that will catch you a few times, since statements look a lot like C++, but they do something else than you remember.

 

Both languages thus are a challenge to learn. If you don't have much experience yet, I would say go for C++. The first objective is to get experience, make hours programming actual code. Get that game running. Learning programming can only be done by actual doing it.

 

Learning yet another language doesn't bring you closer to that goal.

 

 

Once you start getting the hang of game programming a bit, widen your horizon. Look what others do, find a C# tutorial, read a little Python, read about path finding algorithms.

There is so much to discover.

Share this post


Link to post
Share on other sites

This is a stupid question.However last time I worked on C++ I had windows xp and used turbo C++(I dont recall the version).Presently I have a windows 10(64 bit).From where do I download C++ 14 and do I need DOS Box to run it? 

Share this post


Link to post
Share on other sites

Every decent OS has a compiler. It would be stupid to run an emulator like DOSBox just to use an outdated DOS-compiler, when there are better compatible modern compilers (GCC, clang, MSVC).

Share this post


Link to post
Share on other sites

Thank you for replying.So how exactly do I go about installing C++ in a windows 10 system? I am relatively illiterate when it comes to coding despite having worked with C++ before.
Also please do suggest a compiler I can start with

Share this post


Link to post
Share on other sites

I did not try it on Win10, but anyway:

 

If you only want a command line compiler: http://mingw-w64.org/doku.php/download

There you can get an IDE to use it with (or optionally IDE with another compiler version prepackaged): http://codeblocks.org/downloads

 

Or if you'd like the MSFT IDE+Compiler instead: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

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!