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 104
By Guest on 16th January 2023 12:23:11 PM | Syntax: TEXT | Views: 56
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");
string line;
while(!myfile.eof())
{
myfile>>line;//myfile>>line;
cout<<line<<endl;
}
myfile.close();
}
Raw Paste:
#include
#include
using namespace std; int main() { fstream myfile; myfile.open("methology.txt"); string line; while(!myfile.eof()) { myfile>>line;//myfile>>line; cout<
Recent Pastes
Content Marketing to rank...
54 mins 11 secs ago
Indhiraa
4 hours 38 mins 5 secs ago
Aaaaa
16 hours 43 secs ago
Java takes 2 inpute from...
17 hours 16 mins 48 secs ago
1
20 hours 9 mins 22 secs ago