Monday, May 10, 2021

simple program using file handling (OOP) (88)

#include<iostream>

#include<fstream>

using namespace std;

int main()

{

ofstream in;

in.open("writtingfile");

in<<"Hello World!!!"<<endl;

in.close();

} 

No comments:

Post a Comment