I downloaded some source codes that I compiled, and when I run it nothing happends, just a regular cmd box appears and closes, I added int main into one .cpp file.
My first question is do I need to add int main in order to get the program working as a .executable file?
I added int main bcuz of a crtMainstart up error, when I added a other code under the int main function from the project it works while if I put it outside out of the int main function it doesn't. So how I would make all classes, structures to work under as the same behaviour that the int main function does? Is there any main header file I would need to include?