博客园 :: :: 新随笔 :: :: :: 管理 ::

01 2015 档案

摘要:#include //蜘蛛纸牌存档文件,读取分数。int main(void){ FILE *rfile; int p[20]; rfile = fopen("d:\\spider.sav","rb+");//只能用rb+,不能用wb fseek(rfile,368,SEEK_SET);//36... 阅读全文
posted @ 2015-01-18 15:48 #include<stdio.h> 阅读(610) 评论(0) 推荐(0)

摘要:#include //蜘蛛纸牌存档文件,修改分数。 int main(void) { FILE *wfile; int n = 655320; wfile = fopen("d:\\spider.sav","rb+");//只能用rb+,不能用wb fseek(wfile,368,SEEK_SET);//368是170的十六进制,这个位置是要修改的内容所在的位置。 fwrite(... 阅读全文
posted @ 2015-01-18 14:00 #include<stdio.h> 阅读(894) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Wind... 阅读全文
posted @ 2015-01-03 19:55 #include<stdio.h> 阅读(294) 评论(0) 推荐(0)