2013年11月19日

摘要: 工作后就没写过C风格的代码了,刚用C风格写了些文件处理的笔试题,发现原来我的真爱还是C而不是C++。其实切换到C姿态写代码处理char,char*还是很好控制的,只是写C++的时候不想去考虑这些事情,感觉太繁琐细微的不应该是C++处理的。#include "stdio.h"#include "stdlib.h"#include "string.h"#include #include using namespace std;#define filepath "q1_test.txt"class fileReader{ 阅读全文
posted @ 2013-11-19 00:59 shizuka 阅读(184) 评论(0) 推荐(0) 编辑

导航