Jump to content

C++ Command Line Window


Recommended Posts

#include <iostream>
using namespace std;
int main(){
    cout << "Game Over!" << endl;
    return 0;
}

 

I am getting the above from a book "Beginning C++ Game Programming 2004". It compiles, but it just doesn't display the command line window, It just closes it. Is there a reason for this? Is it my code, or is it Dev-C++?

Link to comment
https://forums.phpfreaks.com/topic/134734-c-command-line-window/
Share on other sites

OK, well its good to know, cause I thought I had a bad install of Visual C++, So I tried Dev-C++ and it brought me to this conclusion. Back in 2004, did the window stay open, even after the program ended?

 

btw, what IDE do you guys like?

 

I think I like Visual C++ Express, but I haven't gotten into it much.  I like its intellisense, since I don't know any of the functions, methods, classes, and other things that come with C++.

 

I like Dev-C++ because it is much lighter than Visual C++ Express, but it doesn't have the intellisense which I like.

 

Any suggestions?

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.