Class Issues - External File
I have a Class in an external file, and it seems no matter where i look on the net, I can't seem to find any info on how to get the class into the file with the main function, so i can create objects of said class...
Now I'm sure this has got to be easy as hell to figure out, but it just isnt happening for me, the compiltion errors i get are thus:
and line 21 is:
OS.cpp:21: `Thread' undeclared (first use this function)
OS.cpp:21: (Each undeclared identifier is reported only once for each function
it appears in.)
OS.cpp:21: template argument 1 is invalid
OS.cpp:21: template argument 2 is invalid
OS.cpp:21: template argument 3 is invalid
OS.cpp:21: ISO C++ forbids declaration of `pQueue' with no type
where thread is the name of the class that is messing me about.
If anyone is willing to help me out with this, it would be most appreciated. Thanks