Thread: Multi file program?

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    15

    Exclamation Multi file program?

    I'm using a VC++ 6.0 and I’m looking for help on how to split up a program. The program that I’m working on is getting pretty big and I really hate scrolling. I have a few functions that I want to add to there own file, but i just don't know how. Any help will be appreciated.

    Thanks

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    click new, c++ source file (or header, whichever you prefer, I'd use a source though), make a name for it, make sure the add to project checkbox is selected, then you can move anything into the new file, just don't create another main function and you'll be all good. Make sure when compiling to click the build button, not just compile.
    PHP and XML
    Let's talk about SAX

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    15
    Great! Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  2. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM