I want to set the current directory to the solution diretory/configuration name. How do I do that? Can I use the global variables somehow?
Edit: I am trying to read a
You can use the posix subsystem (  ) and access the functions
_getcwd()/_wgetcwd() Gets the current working directory
_chdir()/_wchdir() Sets the current working directory
If you need your code to be cross platform, you can do the following:
#ifdef _WIN32
#  include 
#  define getcwd _getcwd
#  define chdir _chrdir
#else
#  include 
#endif
  
and use getcwd and chdir (w/o the leading underscore).