Hello, I'm new to C++ I started it like a week ago in this class I'm taking.
So i'm making some little fun adventure thing and at the beginning I want to display the version of the game. I was wondering if there was a way to implement the version info from the project properties into a cout message thing.
Have a header file in your project containing integers constants to hold your major/minor version number. then have a method to build up a string of this eg:
1 2 3 4 5
std::string GetVersionNumber()
{
....// build up the version string e.g. "12.4.2"
}