runtime error

Discussion in 'C++' started by jagadeeshwari, Jan 23, 2008.

  1. jagadeeshwari

    jagadeeshwari New Member

    Joined:
    Jan 23, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Im trying to run the below c++ program in visual studio, its given an error as Native' has exited with code 0 (0x0)....can anyone tell me the solution for this.

    #include <iostream>

    using namespace std;

    int main ()
    {
    cout << "Hello World! ";
    cout << "I'm a C++ program";
    return 0;
    }
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    There are no problems here this is perfectly normal - it shows informational messages about what debug-info was loaded (and which wasn't) and also that your program executed and exited normally - a zero return code means success.

    If you don't see anything on the screen thry running your program with CTRL-F5 instead of just F5.
     
  3. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    This type of thread should be deleted from forum.

    Beacuse too much confusion when you are searching some problems or article.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,335
    Likes Received:
    377
    Trophy Points:
    83
    Now you can never neglect the starters question but they also should be discussed and helped.
     
  5. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    I did'nt mean that what u understand. Offcourse we can'nt neglect starter . But after solving their problem, Some person from you , analyze it and whatever problem which impacted on Quality of this forum , That should be deleted.
     
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,335
    Likes Received:
    377
    Trophy Points:
    83
    That is already done.
     
  7. oogabooga

    oogabooga New Member

    Joined:
    Jan 9, 2008
    Messages:
    115
    Likes Received:
    11
    Trophy Points:
    0
    You're walking a slippery slope.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice