I ask this because I learned the ability to compile an exe to run on more then one operating system at the same time. Imho it's pretty cool.
Do you know a common way to detect the operating system at runtime (not compile time)?
I know there is no standard C or C++ feature for that. Is there a prefab library available?
Or do I need to implement these checks myself for all supported operating systems myself?