Jump to content

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?

I would try NetBeans... didn't have oppurtunity to try it with C++ so far... and you have to spend time configuring it.

Well. I will do some C++ soon, so I will try it. It works fine for me for PHP, so I suppose it could work as well with C++ :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.