摘要: Today one of my colleague tried to load some text from a file and parse it. It's quit a usual task, but the usual task is unusual today. Let's see the code first.char *data = NULL;FILE *fp;long size;fp = fopen("data.txt", "rt");if (fp){ fseek(fp, 0, SEEK_END); size = ftel 阅读全文
posted @ 2014-03-26 20:55 wane 阅读(249) 评论(0) 推荐(0)