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