each time when i define a header file in my main cpp and then use the classes i define in the header file in some different cpp file it gives me "undefine" error