Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- #include <fstream>
- #include <string>
- using namespace std;
- int main()
- {
- std::string string1;
- std::ifstream ist("input.txt");
- while(ist.eof()==false)
- {
- std::getline (ist,string1);
- std::cout << string1<<"\n";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment