Jump to content
  • Advertisement
Sign in to follow this  
namingway

this is killing me

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

this is gonna sound really stupid but is visual C++ and C++ the same programming language i really need to know and if they are different what would you recommend i learn for game development i'm already doing C++.

Share this post


Link to post
Share on other sites
Advertisement
C++ is a programming language.

Visual C++ is an IDE/Compiler/Debugger Bundle for the C++ language by Microsoft.

Share this post


Link to post
Share on other sites
Hi
If by Visual C++ you mean Visual Studio from microsoft, then you must know that C++ is a language, Visual Studio is a tool to write and compile C++ code.

but there are diferences between different compilers like Visual Studio and for example gcc, for example some pragmas witch are defined in Visual Studio don't exist on gcc.

Hope this will help you.

Share this post


Link to post
Share on other sites
are thank you very much guys is it a good compiler i am currently using dev-C++
and it seems to be pretty good and errors are pretty rare

Share this post


Link to post
Share on other sites
Actually, it's an IDE not a compiler, but Visual Studio and DevC++ happen to both use different compilers as well.

DevC++ is a perfectly good IDE that a lot of people use. It uses the Mingw port of the GCC compiler, which is pretty reliable and shouldn't really give you problems. I've heard that it can be somewhat difficult to setup DevC++ to use DirectX, but I've never personally tried so I can't really tell you much about that; It is definately possible to do, I've just heard that it can be troublesome.

The Visual C++ IDE and compiler are also very good, and personally I prefer the IDE, but to be honest unless you have plenty of cash to spend on your setup I think it would be better for a beginner to invest in a good programming book or two and work with DevC++ for the time being; You can always change later if you want.

An IDE (Integrated Development Environment) is basically a set of tools to help you out when coding, and typically consists of a text editor with syntax highlighting (it changes the colour of keywords in your code), a debugger, and one or more comilers. You can actually use any compiler you like with any IDE, as long as you own a copy of each, but most IDEs will come with a compiler and unless you have some reason for changing it you should probably just use that.

A compiler turns your code into a form the computer can understand - under the windows operating system this means you get an executable (or dll) as a result.

Hope that answers your question. [smile]

Share this post


Link to post
Share on other sites
Dev-C++ is great for beginners. Some of the compile errors are easier to understand. Dev-C++ also has features like the package manager that make it awesome to use.

Share this post


Link to post
Share on other sites
I find dev c++ works really well.

one thing you will find though it that the gcc/mingw compiler treats things slightly differently from the c++ compiler in visual studio, so when using msvc code as an example you may find u need to change a few things here and there.

i.e #pramas and packed structures etc.

:)

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!