I am compiling a class.
The files are as follows.
file1.cpp // PROGRAM
file2.cpp // class/methods
file3.h // .h file
Using the g++ compile what command would I use at the linux prompt to correctly compile this program.
g++ -o program file1.cpp file2.cpp file3.h <---- ??
Or do I need to link them (-L) somehow?
Thanks for the help.