Does anyone know how to get the current working directory in C++? The only way i can think of is an inefficient way..and that would be to do a
system("pwd > file.txt");
and read it from that file.
There must be a more efficient way.
Any ideas?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |