[ create a new paste ] login | about

Link: http://codepad.org/w74epWeu    [ raw code | fork ]

C++, pasted on Oct 23:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <fstream>

int main()
{
	std::ofstream fs("test.cpp");
	fs << "#include <iostream>\n";
	fs << "int main()\n";
	fs << "{\n";
	fs << "	std::cout << \"test\" << std::endl;\n";
	fs << "}\n";
	fs.close();

	system("vcvars32");
	system("cl /EHsc test.cpp");

	getchar();
}


Create a new paste based on this one


Comments: