mercredi 1 juillet 2015

Fopen file with dir name in Mint with C

I am using

FILE *fp = fopen("pasta/test.txt",w);

but this line doesn´t create a file in folder "pasta", i am creating a file with name "pasta/test.txt", can you help me?

Aucun commentaire:

Enregistrer un commentaire