Cod sursa(job #198444)
Utilizator | Data | 11 iulie 2008 15:15:06 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fsteam.h>
void main()
{fstream f("adunare.txt",ios::in);
fstream g("adunate.txt",ios::out);
int a,b;
f>>a>>b;
g>>a+b;
f.close();
g.close();
}