Witam, mam problem z tym kodem, otoz chcialbym aby tworzyl on folder (to juz mam za soba) ale jak zrobic aby tworzyl on dokument tekstowy w TYM folderze?
#include <iostream>
#include <windows.h>
using namespace std;
int main ()
{
char sciezka[260];
cout<<"Podaj ścieżkę: ";
gets(sciezka);
CreateDirectoryA(sciezka, NULL);
cin.get();
return 0;
}
Pozdro! ;D