Return to Snippet

Revision: 975
at August 24, 2006 12:41 by Panic2k6


Initial Code
#include <direct.h>
#include <stdlib.h>
#include <iostream.h>

int main()
{
  char CurrentPath[_MAX_PATH];
  getcwd(CurrentPath, _MAX_PATH);
  cout << CurrentPath << endl;
  
return 0;
}

Initial URL
http://en.wikibooks.org/wiki/C%2B%2B_Programming

Initial Description
Show Current Path

Initial Title
Show Current Path

Initial Tags

                                

Initial Language
C++