Jump to content
  • Advertisement
Sign in to follow this  

Where to get good c++ compiler with IDDE, etc

This topic is 5066 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 everyone I'm new to this community and new to game programming. I'm looking for a good (free) c++ compiler. I need a compiler that will compile, link, and all that stuff as well as a compiler that lets me debugg code one line at a time. I currently have a compiler called "djgpp" and I can get it to do everything I need except debug code line by line. If anyone can help I would be very thankful. I'm pretty new to programming, I've had classes in C++, COBOL, Visual Basic, and Assembly.

Share this post


Link to post
Share on other sites
Advertisement
*Smiles* Thank you everyone for all the help. I have just installed DevC++ as reccommended by popular demand and I just love it! I havent quite figured out how to decompile line by line but I do enjoy the windows environment.

Also I am relieved that all my homework examples from school seem to work fine. One problem I have encountered however is simple programs that just output text to the screen seem to run and terminate too fast for me to see the output.

-Krater

"I've taken about 10 programming classes in 3 years of college yet I still feel like I'm a complete noob when it comes to game programming. Anyone else out there in the same situation as me?"

Share this post


Link to post
Share on other sites
That is with all console programs.

You can put a cin.get(); at the end of the output, or system("PAUSE");

Also, you can just run it from a seperate console window.

Good luck! [smile]

Share this post


Link to post
Share on other sites
You can get the Microsoft Visual C++ Express Beta here.

It's pretty much fully functional, and better fleshed out than Dev-C++. It has an excellent debugging interface. It's also free to download, and as such I'm pretty sure the license doesn't allow you to commercially distribute anything you compile on it, but at your level, I doubt you need to anyway.

Also, as the others mentioned, to pause your program at the end, add the call
system("PAUSE");
to the end; make sure you
#include <stdlib.h>
first, though.

Good luck, cheers.

Share this post


Link to post
Share on other sites
Once again I take my hat off to you people. I cant believe the rapid responces I'm getting to my post! This is great! I tried the system("PAUSE"); and it works just fine!

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!