0

How do you create a class that's exactly the same as main.cpp(?) in the same project?

When I create a class, it's code is completely different from 'main.cpp(?)'.

30th Aug 2018, 1:01 AM
CaveSpider12
CaveSpider12 - avatar
1 Answer
+ 6
Why would you want to create a class with the same contents as main.cpp? The main file is where your main function is located, the entrance of your program, and there should only be one.
30th Aug 2018, 1:38 AM
Hatsy Rei
Hatsy Rei - avatar