Using the environment class

The environment class allows you to get or set the value of environment variables. The following example gets, sets and resets the environment variable TEST.

int main(int argc, const char **argv) {
}