I wnat to know how to write a program in c++ that creates will create an exe file.
Printable View
I wnat to know how to write a program in c++ that creates will create an exe file.
Code:#include <stdio.h>
int main(void)
{
printf("Compile this and you'll have an exe");
return 0;
}
compile that and you get what govtcheez gave you, only in C++.Code:#include <iostream.h>
int main(void)
{
cout>>"Hi, dude!";
return 0;
}
When you 'Run' some code in Turbo C or whatever compiler you are using, it is merely going through and executing the code.
When you 'Build' some code in Turbo C or whatever, you are creating an Executable.
Tell me what compiler you are using (if any!!?)
[email protected]