fstream file("worker.txt",ios::in);
file.read(reinterpret_caet<char *>(&b),sizeof(b))
fstream file("worker.txt",ios::out);
file.write((char *)&workers[i],sizeof(workers[i]));
委屈的宝宝
相关分类