I guess this is a multi-part question. I am taking a crack at creating and using header files for custom classes. What I would like to be able to do is just call my custom header file for my custom classes then be able to use my custom classes.... simple right? Here are the problems I am running into.
First is how do I call my custom header file in the #include command? The header file sits in a local directory off of my home directory. Do I need to put my header file in a special directory, e.g. /usr/include/, or can I call it from the path where its located?
Second part. From what I understand the header file only has the declaration and the implementation goes somewhere else. So I did that. But now what? One book I've head has the implementation file calling the header. Another website I went to has the header file calling the implementation file...though it stated thats not the best way of doing it. If I hope on just calling the header file to utilize my customer classes, then I would assume that the header file would have to call the implementation file. But then where would I put the implementation file (same question as above but for the implementation file).
Any help would be greatly appreciated. Thanks!!