随笔分类 - C语言文件操作
摘要:#include "stdafx.h" #include #include #include #include using namespace std; int main() { FILE *fp; errno_t err = fopen_s(&fp, "D://1.TXT", "rt"); //读取文件数据 cout << err << endl; char s[2]; int in...
阅读全文
摘要:#include "stdafx.h" #include #include #include #include using namespace std; typedef struct _MyDataTime { int Index;//保留 int Year; //年,这个日期为班次开始时的日期 int Month; //月 ...
阅读全文