摘要:
源程序: #include <iostream> using namespace std; int main() { int x, count, sum = 0; freopen("c:\\input.txt", "r", stdin); for (count = 0; count<10; coun 阅读全文
posted @ 2020-01-27 12:44
bobo哥
阅读(104)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> using namespace std; int main() { int x, count, sum = 0; freopen("c:\\input.txt", "r", stdin); //将标准输入重定向到文件input.txt for (co 阅读全文
posted @ 2020-01-27 12:37
bobo哥
阅读(160)
评论(0)
推荐(0)
摘要:
源程序: #include <iostream> using namespace std; int main() { int x, y; cin >> x >> y; freopen("c:\\test.txt", "w", stdout); if (y == 0) cerr<<"error."<< 阅读全文
posted @ 2020-01-27 12:09
bobo哥
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号