03 2014 档案
摘要: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
阅读全文

浙公网安备 33010602011771号