|
-
Mar 23rd, 2007, 09:40 PM
#1
Thread Starter
Member
C "int main(int,char**) {return 0;}" program)
How do i make a "dummy exe" using:
C "int main(int,char**) {return 0;}" program)
-
Mar 28th, 2007, 01:47 PM
#2
Re: C "int main(int,char**) {return 0;}" program)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 6th, 2007, 10:54 AM
#3
Re: C "int main(int,char**) {return 0;}" program)
said a different way, The following is code:
Code:
int main(int,char**)
{
return 0;
}
You can compile this with a C compiler and the result will be an exe program. The program will do nothing other than return a value of 0 to the operating system.
(Most C++ compilers will also compile C.
This seems like a good time to mention that I've written beginning level books on doing C and C++. The C book would explain the above code for you. (Sams Teach Yourself C in 21 Days)
Brad!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|