资料详情

Save(string SFile, int s){//写入,SFile 保存的路径,s 保存的值 调用 Save(路径, 数值)

       int f = OpenFile(SFile,"w");

       WriteFile(f,s);

       CloseFile(f);

       return 1;

}

Load(string SFile){//读取,SFile 读取的路径  调用 Load(路径)

       int f = OpenFile(SFile,"r");

       return ReadFile(f);

       CloseFile(f);

}