10 lines
150 B
C++
10 lines
150 B
C++
#include <fstream>
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
ofstream file("new.txt");
|
|
file << "this is a string";
|
|
file.close();
|
|
return 0;
|
|
}
|