The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
File managmnet 101
By Guest on 16th January 2023 12:01:40 PM | Syntax: TEXT | Views: 3



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. #include<iostream>
  2. #include<fstream>
  3. using namespace std;
  4. int main()
  5. {
  6.         fstream myfile;
  7.         myfile.open("methology.txt");
  8.         string line;
  9.         myfile>>line;
  10.         cout<<line;
  11.         myfile.close();
  12. }



  • Recent Pastes
  • Questions
    12 hours 49 mins 12 secs ago
  • Adrs
    12 hours 54 mins 22 secs ago
  • Docs
    12 hours 55 mins 6 secs ago
  • Servs
    12 hours 55 mins 49 secs ago
  • Srvs
    13 hours 38 secs ago