string Index;
cout << "\tNAS:";
getline(cin, strNAS);
Index="c:\\Bonsanghistan\\index\\"+strNAS+".txt";
ofstream of(Index,ios::out); // created it in a fonction before removing it
remove((constchar*)&Index);
perror("The following error occurred");
The following error occurred: No such file or directory
My program created the file with Index also so how can't it be found...
And i see the file int my repertory