Menu

separate compilation

2007-08-12
2012-09-26
  • Nobody/Anonymous

    Hi guys
    I have a question. I would like to compile program using seperate compilation method. Is it possible to do tghat with DEv-C++. I have 3 files. One with name: lab4.h, second : main.cpp and the one that I need to submit is: lab4.cpp
    Thanks

     
    • Anonymous

      Anonymous - 2007-08-17

      I think "separate compilation" is clear enough - that is after all the correct term.

      The answer the OP seeks is to use the project facility. File->New->Project, once created (use a template or an empty project), use the Project menu to add the source files (or right click context menu in the project pane). You only need to add the .cpp files. The .h files can be added if you wish, Dev-C++ will ignore them for the purposes of compilation (you include them in your code), but it makes it convenient for editing to have them in the project pane.

      Clifford

       
    • Nobody/Anonymous

      I think people are having a problem understanding the question.
      What do you mean by a "seperate compilation method"? What are you trying to do?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.