Menu

Program doesn't run

Miki
2010-09-23
2012-09-26
  • Miki

    Miki - 2010-09-23

    I just started learning c++, and the first code in the tutorial is the "Hello
    World!" app.
    So for starters, I just copy pasted it into Dev-C++, compiled, ran, and the
    result... a console window opening and closing a second later.
    Here is the code from the tutorial:

    // my first program in C++
    
    #include <iostream>
    using namespace std;
    
    int main ()
    {
      cout << "Hello World!";
      return 0;
    }
    

    Please help me so I can learn C++ :(

     
  • Wayne Keen

    Wayne Keen - 2010-09-26

    Please take a moment and read the thread titled "Please Read Before Posting a
    Question"

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.