[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppBuilderFileExists
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppBuilderFileExists
(C++ Builder) Check if a file exists
if (FileExists("c:/autoexec.bat")==true) ShowMessage("File exists"); else ShowMessage("File does not exist");
- include <SysUtils.hpp> //For FileExists
- include <Dialogs.hpp> //For ShowMessage
other C++ code snippets
Check if a file exists (C++ STL)
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
