Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Code snippets for save to file or loading from
file.
0.
Check if a file exists, FileExists
3.
FileExists, check if a file exists
4.
FileToTStringList, read a file in a TStringList
5.
FileToVector, read a file in a std::vector
7.
Get the extension of a filename, GetExtension
8.
GetExtension, get the extension of a filename
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