title: Call C++ main classes from other file
body: <p>Alright so Im making a text adventure game in C++ and I am quite new to it. I'm experienced in java and some other languages. But I have a problem. I'm trying to call a class from the main file into my other file and I get an error. I get it even when I include the main.cpp in my header file or in my .cpp file. I already know that its bad practice to call .cpp's into another file, but as main has no header file I cant exactly include it. </p>