fileio.h
来自「密码大家Shoup写的数论算法c语言实现」· C头文件 代码 · 共 54 行
H
54 行
#ifndef NTL_fileio__H#define NTL_fileio__H#include <NTL/tools.h>#ifndef NTL_STD_CXX// old C++#include <fstream.h>#else// new C++#include <fstream>#endif#if 0namespace foo_bar {class ofstream;class ifstream;}#endifNTL_OPEN_NNSvoid OpenWrite(NTL_SNS ofstream& s, const char *name);// opens file for writing...aborts if failsvoid OpenRead(NTL_SNS ifstream& s, const char *name);// opens file for readingchar *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.dNTL_CLOSE_NNS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?