L
Leslaw Bieniasz
Hi,
I am using a temporary binary file which I open and close
by
fstream:pen()
and
fstream::close()
After using the temporary, I would like to delete it from the
disk. Is there any way of doing this from the level of the
C++ program which operates in the console mode under MS Windows?
I mean I don't want to quit the program and use the system commands
manually, and I don't want to use GUI for deleting the file.
L.B.
!!! PLEASE NOTE MY NEW ADDRESS SINCE January 1st, 2008, INDICATED BELOW !!!
*-------------------------------------------------------------------*
| Dr. Leslaw Bieniasz, |
| Institute of Physical Chemistry of the Polish Academy of Sciences,|
| Department of Complex Systems and Chemical |
| Processing of Information |
| ul. Niezapominajek 8, 30-239 Cracow, Poland. |
| tel. (room) +48 (12) 6395212 |
| tel./fax. (secretariat) +48 (12) 4251923 |
| E-mail: (e-mail address removed) |
*-------------------------------------------------------------------*
| Interested in Computational Electrochemistry? |
| Visit my web site: http://www.cyf-kr.edu.pl/~nbbienia |
*-------------------------------------------------------------------*
I am using a temporary binary file which I open and close
by
fstream:pen()
and
fstream::close()
After using the temporary, I would like to delete it from the
disk. Is there any way of doing this from the level of the
C++ program which operates in the console mode under MS Windows?
I mean I don't want to quit the program and use the system commands
manually, and I don't want to use GUI for deleting the file.
L.B.
!!! PLEASE NOTE MY NEW ADDRESS SINCE January 1st, 2008, INDICATED BELOW !!!
*-------------------------------------------------------------------*
| Dr. Leslaw Bieniasz, |
| Institute of Physical Chemistry of the Polish Academy of Sciences,|
| Department of Complex Systems and Chemical |
| Processing of Information |
| ul. Niezapominajek 8, 30-239 Cracow, Poland. |
| tel. (room) +48 (12) 6395212 |
| tel./fax. (secretariat) +48 (12) 4251923 |
| E-mail: (e-mail address removed) |
*-------------------------------------------------------------------*
| Interested in Computational Electrochemistry? |
| Visit my web site: http://www.cyf-kr.edu.pl/~nbbienia |
*-------------------------------------------------------------------*