Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   Deleting and creating text files in C++ (http://www.go4expert.com/forums/deleting-creating-text-files-cpp-t12768/)

Andres 8Aug2008 00:10

Deleting and creating text files in C++
 
How can you create a text file, write info in it, and then delete it. I know how to wright into it or extract info out of it, but I really don't know the code for creating or deleting txt files. Can someone please help me?

shabbir 8Aug2008 09:15

Re: Deleting and creating text files in C++
 
Check the API DeleteFile for Windows. If you are using linux I am not sure about it.


All times are GMT +5.5. The time now is 22:03.