sa ne fonctionne pas
, voici le code:
#include <cstdlib>
#include <iostream>
#include <windows.h>
#include <Winbase.h>
using namespace std;
int main(int argc, char *argv[])
{
TCHAR szTMP[256];
GetModuleFilename(NULL, szTMP, sizeof(szTMP) / sizeof(TCHAR));
cout <<" voici le chemin : " << szTMP;
system("PAUSE");
return EXIT_SUCCESS;
}