Menu
Create New Paste
Archive
H-supertools
Find a Domain
Seo Analyzer
Sign In
Sign Up
×
Sign in
×
Sign in using social network
Facebook
Google
Sign in with your username
Username
Password
×
Sign up
×
Sign up using social network
Facebook
Google
Sign up with your email address
Username
Email
Full Name
Password
The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
File managmnet 108
By Guest on 16th January 2023 12:43:25 PM | Syntax: TEXT | Views: 8
New paste
|
Download
|
Show/Hide line no.
|
Copy text to clipboard
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
fstream myfile;
myfile.open("methology.txt",fstream::out);
string line="abas c++ 66";
myfile<<line;//myfile>>line;
cout<<line<<endl;
myfile.close();
}
Raw Paste:
#include
#include
using namespace std; int main() { fstream myfile; myfile.open("methology.txt",fstream::out); string line="abas c++ 66"; myfile<
>line; cout<
Recent Pastes
Questions
13 hours 37 mins 10 secs ago
Adrs
13 hours 42 mins 20 secs ago
Docs
13 hours 43 mins 4 secs ago
Servs
13 hours 43 mins 47 secs ago
Srvs
13 hours 48 mins 36 secs ago