reading binary and text file
binary file:
cpp:
ifstream write
ofstream read
c:
file fread, fwrite
text file
cpp
ifstream >>
ofstream <<
c
write : fprintf
read: fgets, strtok, strcmp, sscanf
posted on 2008-01-06 02:30 cloudseawang 阅读(196) 评论(0) 编辑 收藏 举报