Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

(C++) File I/O

 

Code snippets for save to file or loading from file.

 

0.       Check if a file exists, FileExists

1.       Copy a file, CopyFile

2.       CopyFile, copy a file

3.       FileExists, check if a file exists

4.       FileToTStringList, read a file in a TStringList

5.       FileToVector, read a file in a std::vector

6.       Get a file's path, GetPath

7.       Get the extension of a filename, GetExtension

8.       GetExtension, get the extension of a filename

9.       GetPath, get a file's path

10.  Read a file in a std::vector, FileToVector

11.  Read a file in a TStringList, FileToTStringList

12.  Remove the extension of a filename, RemoveExtension

13.  RemoveExtension, remove the extension of a filename

14.  Run another program and use its output

15.  Save a container to file, SaveContainer

16.  SaveContainer, save a container to file

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.