返回信息流[em3]
这是一条镜像帖。来源:北邮人论坛 / cpp / #35964同步于 2010/2/17
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
请教:c语言,获取文件内容中的一个字节怎么实现
joyares
2010/2/17镜像同步1 回复
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
FILE *fp = open("blahblah.txt","rb"); // "r" and "rb" is different on Windows (not so different on Linux)
fseek(fp, the_place, SEEK_SET);
int next_char = fgetc(fp);