C/C++の宿題を片付けます 68代目
■ このスレッドは過去ログ倉庫に格納されています
0084デフォルトの名無しさん
2006/06/26(月) 11:34:43#include<iostream>
#include<fstream>
using namespace std;
int main(){
int n = 0;
{
ifstream fin("abc.txt");
fin >> n;
}{
ofstream fout("abc.txt");
fout << n+1;
cout << n+1 << endl;
}
}
■ このスレッドは過去ログ倉庫に格納されています