摘要:使用TIniFile类 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->TIniFile *GameIni = new TIniFile ("fungame.ini"); GameIni->WriteBool("Options", "Sound", ...
阅读全文
摘要:头文件 #include #include #include #include Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* 保存 路径:abcd\\abcd\\abcd.xml */ void CustomerPlay...
阅读全文
摘要:ChangeFileExt Changes the extension of a file name. DosPathToUnixPath Converts a DOS-compatible path specification to a Unix-compatible path specification. ExcludeTrailingBackslash Returns a path name...
阅读全文
摘要:二.Borland C++ Builder VCL的文件操作函数 1. FileOpen 打开指定的文件,如果返回为正数,表示操作成功,返回值为文件句柄:如果返回值为-1,表示操作失败,函数原型如下: int __fastcall FileOpen(const System::AnsiString FileName,int Mode); 2. FileCreate 以指定的文件...
阅读全文