Pagini recente » Cod sursa (job #2018045) | Cod sursa (job #79624) | Borderou de evaluare (job #1231198) | Cod sursa (job #848832) | Cod sursa (job #1663029)
// test1.cpp : Defines the entry point for the console application.
//
//#include "stdafx.h"
#include "stdio.h"
#include "fstream"
#include "iostream"
#include "string"
using namespace std;
int main()
{
int a=0,b;
ifstream myfile;
myfile.open("adunare.in");
myfile >> a >> b;
myfile.close();
ofstream outfile;
outfile.open("adunare.out");
outfile << a+b;
outfile.close();
//fout<<a<<b;
//system("pause");
return 0;
}