Untitled
#include <iostream> #include <fstream> using namespace std; int main() { ofstream newF; newF.open("sample.txt"); newF << "Why Tho" << 1 << endl; newF.close(); return 0; }
Leave a Comment
#include <iostream> #include <fstream> using namespace std; int main() { ofstream newF; newF.open("sample.txt"); newF << "Why Tho" << 1 << endl; newF.close(); return 0; }