Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

aqzman

compiler

This topic is 6016 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 need a compiler but i can not relly aford one because i am only 13 i downloaded one lastnight and when i compled it. it wored fine but it would not run. so were can i get a ½ good free compiler? edit:it is for c/c++ Edited by - aqzman on January 31, 2002 5:14:40 AM

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
http://www.borland.com/bcppbuilder/freecompiler/

bloody good free compiler.

Share this post


Link to post
Share on other sites
i downloaded the bloddshed one it is pretty good but when i enter this code

#include <iostream.h>

int main()
{
cout << "Hello World!\n";
return 0;
}

it says there is no probs but when a run it nothing happens here is the tutrioul i got that code from http://members.tripod.com/~firstpod/cpp21/ch01.htm thanks if u can help me

Share this post


Link to post
Share on other sites
It is doing something, it''s just doing it so fast you don''t see it. Try this (written in modern C++):
  
#include <iostream>
#include <cstdio>

int main(void) {
std::cout << "Hello world!" << std::endl;
getchar();
return 0;
}

It will force the console to stay open until you hit a key. Alternatively, just run the program from a console to see the results.

Share this post


Link to post
Share on other sites

  • 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!