linking programs

This is a discussion on linking programs within the C++ Programming forums, part of the General Programming Boards category; I have three distinct but related programs(each program is a portion of a flight simulator I am developing ). Is ...

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    1

    linking programs

    I have three distinct but related programs(each program is a portion of a flight simulator I am developing). Is it possible to compile the three programs into one related program.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    if they are 3 objects then yes. however if they are 3 seperate programs you'll need to change some code. you can only have one main function in a program.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. linking sub programs to main()
    By cuba06 in forum C Programming
    Replies: 3
    Last Post: 11-05-2007, 07:54 AM
  3. Dynamic Linking & Memory usage
    By @nthony in forum C Programming
    Replies: 2
    Last Post: 06-02-2007, 10:57 PM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 04:12 AM

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