Im not sure if this is how the process would work, but if i am to say create a header file named myheader and in that header wrote
#define functionName
{
code...
}
and then wrote a .cpp file and in the source code I would #include <myheader> and I called functionName(); somewhere in the source, i would not have to write the code for that function in my source file because it is included in my header correct?
This would also allow for compiling if I called the function before I wrote one if I were to regularly just write the function code in my source?
Sorry if the question is unclear, just ask if your confused =D
thanks