Making a program that makes a program?

This is a discussion on Making a program that makes a program? within the C Programming forums, part of the General Programming Boards category; hey guys, im back again :P, i was wondering if anyone could give me any leads on what to search ...

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    4

    Making a program that makes a program?

    hey guys, im back again :P, i was wondering if anyone could give me any leads on what to search for or research, so that i'm able to create a program that creates a program e.g. a console application that when executed, asks the user "select a feature to be in your program" then when the user picks a feature it will check the feature and make a .exe that does that function when executed. i asked a friend a while ago and he said to look up the dos and exe headers but i have no idea where to start. thanks in advance.

  2. #2
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    I think thats call a compiler :-) You tell it what features you want via text input(source files) then it spits out an .exe :-)

  3. #3
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    I think you could make a program that writes the code for another program. Then you could compile via command line and run.
    Don't quote me on that... ...seriously

  4. #4
    Fear the Reaper...
    Join Date
    Aug 2005
    Location
    Toronto, Ontario, Canada
    Posts
    625
    Research compilers, if you want a general solution. But if you just want a few features, you could probably do a very system-dependant program that uses system() along with some macros.
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 01-21-2008, 02:07 AM
  2. making a math quiz program
    By mackieinva in forum C Programming
    Replies: 10
    Last Post: 09-17-2007, 04:38 PM
  3. Making Program Launch Full Screen
    By mrtechguy in forum C++ Programming
    Replies: 19
    Last Post: 03-15-2006, 02:06 AM
  4. making a phone call in a program
    By jverkoey in forum C++ Programming
    Replies: 1
    Last Post: 03-18-2004, 05:09 PM
  5. hOW TO MAKE A PROGRAM WHICH MAKES MY pC TO SHUTDOWN?
    By ALANAIR23 in forum Windows Programming
    Replies: 9
    Last Post: 09-01-2001, 02:27 AM

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