Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Inclusion of headers.
Hi all, need a little help here. I've been writing in C++ for awhile now using MS Visual C++. I'm writing a seperate project with the Digital Mars compiler because I need to generate 16-bit DOS mode programs. My question is how are header files and C++ definition files included in the command line statement? For example, I have three files: main.cpp func.h func.cpp I'm assuming the command begins like this: dmc -msd main.cpp ?????? How do I finish this? Thanks! Oct 05 2004
For files try -HIfilename, for directories with include files try -I\path and for definitions use -DSOMETHING. Sanel In article <cju895$28r$1 digitaldaemon.com>, DMC_Newb says...Hi all, need a little help here. I've been writing in C++ for awhile now using MS Visual C++. I'm writing a seperate project with the Digital Mars compiler because I need to generate 16-bit DOS mode programs. My question is how are header files and C++ definition files included in the command line statement? For example, I have three files: main.cpp func.h func.cpp I'm assuming the command begins like this: dmc -msd main.cpp ?????? How do I finish this? Thanks! Oct 06 2004
|