Thread: Linking Source Files

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    7

    Linking Source Files

    I am trying to link two sources together. I am making an AD&D story teller. It takes short stories and turns them into RPGs. I asm trying to make a source for each story. So far I have one story and a Main Menu. The Main Menu is the menu that starts up at the first. When the value MnMnu_Opt2 = 1 It will show the story. But, they are not on the same *.h or *.cpp file or the same source file. How do I link them.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    1,109
    easiest way is to make a project.

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I think the Programming FAQ will answer your question.

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    7
    I did make a project. It's the code runs fine, but the variables aren't the same, and stuff.

  5. #5
    Registered User
    Join Date
    Jun 2003
    Posts
    7
    I read the FAQ... And... Uhh... I'm even more lost then I was before I came here... Can someone reiterate that for someone who knows how to use cout, cin, and classes, and that's about it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Confusion on header and source files
    By dnguyen1022 in forum C++ Programming
    Replies: 4
    Last Post: 01-17-2009, 03:42 AM
  2. Class Inheritance over multiple source files
    By Swarvy in forum C++ Programming
    Replies: 7
    Last Post: 11-11-2008, 10:03 AM
  3. Multiple Source Files, make files, scope, include
    By thetinman in forum C++ Programming
    Replies: 13
    Last Post: 11-05-2008, 11:37 PM
  4. pseudocode for multiple source files
    By Calef13 in forum C++ Programming
    Replies: 4
    Last Post: 11-13-2007, 09:07 AM
  5. Linking 3 files in Borland C 3.11
    By Brain Damage in forum C++ Programming
    Replies: 5
    Last Post: 05-29-2005, 02:53 AM