Cod sursa(job #949134)
Utilizator | Data | 12 mai 2013 16:45:53 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream>
#include<fstream.h>
using namespace std;
int main(){
int a,b,c;
ifstream f;
f.open("c:\\users\\cori\\desktop\\text.txt");
f>>a;
f>>b;
c=a+b;
ofstream g;
g.open("c:\\users\\cori\\desktop\\textout.txt");
g<<c;
}