Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   runtime error (http://www.go4expert.com/forums/runtime-error-t8417/)

jagadeeshwari 23Jan2008 11:40

runtime error
 
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;
}

pradeep 23Jan2008 12:08

Re: runtime error
 
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.

asadullah.ansari 7Feb2008 14:04

Re: runtime error
 
This type of thread should be deleted from forum.

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

shabbir 7Feb2008 17:07

Re: runtime error
 
Now you can never neglect the starters question but they also should be discussed and helped.

asadullah.ansari 7Feb2008 17:51

Re: runtime error
 
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.

shabbir 7Feb2008 18:30

Re: runtime error
 
Quote:

Originally Posted by asadullah.ansari
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.

That is already done.

oogabooga 7Feb2008 21:10

Re: runtime error
 
Quote:

Originally Posted by asadullah.ansari
impacted on Quality of this forum

You're walking a slippery slope.


All times are GMT +5.5. The time now is 03:23.