Thread: Create exe files

  1. #1
    Unregistered
    Guest

    Create exe files

    I wnat to know how to write a program in c++ that creates will create an exe file.

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Code:
    #include <stdio.h>
    
    int main(void)
    {
       printf("Compile this and you'll have an exe");
       return 0;
    }

  3. #3
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Code:
    #include <iostream.h>
    
    int main(void)
    {
        cout>>"Hi, dude!";
        return 0;
    }
    compile that and you get what govtcheez gave you, only in C++.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    11

    Arrow Give me more info...

    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]
    With my naked eye I saw all the falling rain, coming down on me...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 02:47 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 04:45 AM
  4. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  5. EXE files...
    By Brian in forum C Programming
    Replies: 7
    Last Post: 02-19-2002, 12:42 AM