Compiling Multiple files in a single Project

This is a discussion on Compiling Multiple files in a single Project within the C Programming forums, part of the General Programming Boards category; I have several .CPP and .H fles which i want to compile together. These files are used for PLC and ...

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    Compiling Multiple files in a single Project

    I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. How can i compile these files? I have Borland 2006 C++ IDE, also VC++ IDE.
    Please help. Thanks in advance.

    prashant

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Whichever IDE you are choosing to use, you should define a project that contains the different parts that you want to build together.

    In VC you use "add existing file to project" or some such [sorry, haven't got VC here].

    I'm sure that Borland has a similar concept, but of course, not having used Borlan C++ for about 12 years, I don't know how to do that.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Asked and answered elsewhere - http://www.daniweb.com/forums/thread92098.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Handling multiple input files from command line
    By cnfwriter in forum C Programming
    Replies: 13
    Last Post: 08-25-2008, 08:07 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Replies: 4
    Last Post: 06-18-2005, 02:26 PM
  5. Multiple Java files for one Java project
    By doubleanti in forum Windows Programming
    Replies: 2
    Last Post: 11-22-2004, 01:06 AM

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