Environment management example
#include <iostream>
int main(int argc, char** argv)
{
std::cout << std::endl << "Environment variables: " << std::endl;
std::cout << envar.first << "=" << envar.second << std::endl;
return 0;
}
static bool IsBigEndian()
Is big-endian system?
static bool Is64BitProcess()
Is 64-bit running process?
static bool Is64BitOS()
Is 64-bit OS?
static bool Is32BitProcess()
Is 32-bit running process?
static bool IsRelease()
Is compiled in release mode?
static std::map< std::string, std::string > envars()
Get all environment variables.
static bool IsDebug()
Is compiled in debug mode?
static std::string OSVersion()
Get OS version string.
static bool Is32BitOS()
Is 32-bit OS?
static bool IsLittleEndian()
Is little-endian system?
Environment management definition.