摘要:
#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; //月 ... 阅读全文
摘要:
#include "stdafx.h" #include #include #include #include #include using namespace std; int main() { time_t t; //秒时间 tm local; //本地时间 tm* gmt; //格林威治时间 char buf[128] = { ... 阅读全文
摘要:
#include "stdafx.h" #include #include #include #include using namespace std; typedef struct _MyDataTime { int Index;//保留 int Year; //年,这个日期为班次开始时的日期 int Month; //月 ... 阅读全文
摘要:
#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... 阅读全文