Create exe files

This is a discussion on Create exe files within the C Programming forums, part of the General Programming Boards category; I wnat to know how to write a program in c++ that creates will create an exe file....

  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,825
    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,230
    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!!?)

    dtblunde@it.uts.edu.au
    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, 05:23 AM
  5. EXE files...
    By Brian in forum C Programming
    Replies: 7
    Last Post: 02-18-2002, 11:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21