摘要:
17.39#include#include#include#includeusing namespace std;int main(){ fstream inOut("copyOut",fstream::ate|fstream::in|fstream::out); if(!inOut) ... 阅读全文
posted @ 2014-09-03 18:13
Jessica程序猿
阅读(324)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int main(){ ifstream file("1.txt"); char ch[20]; cout<<"getline: "<<endl; while(file.getline(c... 阅读全文
posted @ 2014-09-03 17:49
Jessica程序猿
阅读(528)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int main(){ cout>noskipws; while(cin>>ch) cout>skipws;} 阅读全文
posted @ 2014-09-03 15:55
Jessica程序猿
阅读(275)
评论(0)
推荐(0)
摘要:
17.28 编写函数,每次调用生成并返回一个均匀分布的随机unsigned int。 ... 阅读全文
posted @ 2014-09-03 11:34
Jessica程序猿
阅读(213)
评论(0)
推荐(0)

浙公网安备 33010602011771号