Miscellany
public text v1 · immutable#include <cstdlib>
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int main(int argc, char *argv[])
{
ofstream love("test.out");
//love.open("test.out");
ifstream fin("test.in");
int a,b;
fin >> b >> a;
love << a+b <<"\nYes it did work" << endl;
love.close();
return 0;
system("EXIT");
}
/*___Files____
//test.in
12 21
//test.out
2
Yes it did work
*/