📄 fileio.h
字号:
#ifndef NTL_fileio__H
#define NTL_fileio__H
#include <NTL/tools.h>
#if (defined(NTL_STD_CXX) || defined(NTL_PSTD_NHF))
#include <fstream>
#else
#include <fstream.h>
#endif
#if 0
namespace foo_bar {
class ofstream;
class ifstream;
}
#endif
NTL_OPEN_NNS
void OpenWrite(NTL_SNS ofstream& s, const char *name);
// opens file for writing...aborts if fails
void OpenRead(NTL_SNS ifstream& s, const char *name);
// opens file for reading
char *FileName(const char* stem, const char *ext);
// builds the name "stem.ext"
char *FileName(const char* stem, const char *ext, long d);
// builds the name stem.ext.d
NTL_CLOSE_NNS
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -