2013年7月4日
摘要: FILE *ffp; struct mystruct { int aa; int bb; }; struct head { float cc; float dd; }; if((ffp=fopen("D:\\aaa.dat","ab+"))!=NULL) { head myhead; myhead.cc=123.55; myhead.dd=789.11; fwrite(&myhead,sizeof(head),1,ffp); ... 阅读全文
posted @ 2013-07-04 15:03 markygis 阅读(2441) 评论(0) 推荐(0) 编辑