cout<<"HEY, you, I'm alive! Oh, and Hello World!";
return 0;
}
then i click compile& run....nothing compile then run and it tells me that its not yet compiled. when i compile it gives me an error at the bottom:
line:2 unit:C:\dev-cpp\2 message: unable to run program file... tell me what to do from beginning to end plzzzzz thankyou
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-03
// this way works for me.
#include <iostream.h>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
system("pause");
return 0;
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i write a simple program e.g
#include <iostream.h>
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
return 0;
}
then i click compile& run....nothing compile then run and it tells me that its not yet compiled. when i compile it gives me an error at the bottom:
line:2 unit:C:\dev-cpp\2 message: unable to run program file... tell me what to do from beginning to end plzzzzz thankyou
// this way works for me.
#include <iostream.h>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
system("pause");
return 0;
}
compiler path is wrong, it' does'nt compile at all /pat