Another newbie question.....
I put together my first program (actually entered from book) using user defined header files and recieved a linker error:
undefined reference to .......
I had included my header files as the book said like this example
I changed it to this and it worked.
My program is working fine now but I don't understand the discrepancy between the book and what actually worked.
My understanding is the .h file includes the function declaration while the .cpp is the actual function.
I can post the code if necessary but I think this is more of an abstract question. Thanks......