Jump to content
  • Advertisement
Sign in to follow this  
Darkfire64

C++

This topic is 3960 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 want straight answers cuz im very annoyed right now....do I download C++ from somewhere to use it OR is it just a way of typing game code?

Share this post


Link to post
Share on other sites
Advertisement
Even if you are annoyed you have to make sense. If you are trying to write a program in c++ you need a compiler to make your code executable. you can type code in notepad if you want but you won't be able to run it with out a compiler.

Share this post


Link to post
Share on other sites
Quote:
Original post by Darkfire64
I want straight answers cuz im very annoyed right now....do I download C++ from somewhere to use it OR is it just a way of typing game code?
Annoyed, huh? :) Just wait until you actually start trying to program something... :-|

Anyway, I saw your other thread. Although (as mentioned in the other thread) there are plenty of references available online that can answer the questions you have, I can understand that they might be a bit bewildering to you (given that you have no frame of reference).

So...

You don't download C++ - it's just a language specification. You can fire up your favorite text editor right now and start writing yourself some C++ code if you so desire.

However, that won't do you much good. In order for your computer to be able to run the code, it needs to be compiled into an executable. For that you need a compiler (for example, GCC).

You can write a program with no more than a text editor and a compiler, but a lot of folks also use what's called an IDE (Integrated Development Environment). Examples include VC++ (Windows) and Xcode (OS X). An IDE helps by (among other things) managing the files in your project and simplifying the compiling and linking stages (from your point of view, at least).

Fortunately, there are free compilers and IDEs available for most (if not all) common platforms.

Having said all that, C++ probably isn't a good language choice if you're a complete beginner to programming. (Much of the above information, however, applies to other languages as well.)

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!