Answers for "c++ get environment variable"

C++
0

c++ get environment variable

#include <stdlib.h> 

int main() {
  std::string pathVar = getenv("PATH");
  return 0;
}
Posted by: Guest on August-20-2021

Code answers related to "c++ get environment variable"

Browse Popular Code Answers by Language