I am needing to get two cpp files to run one exe. I know one of them is supposed to be the "driver". I am using a self made header file and I know one of the cpp files will use the header and run the program, so what would be left for the "driver" file to do and how would I use them to create one exe?
I use dev C++
and in that i add to proj the .cpp file and include the .h file
on the left hand side right click on the project name and select add to project.
then open the file you want to add.
for the .h file type this in the code #include "file.h"//where file is the file name
note: the file your going to include has to be in the same folder as .dev file