Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <string>
- using namespace std;
- int main () {
- ifstream rubrica ("Rubrica.txt");
- string data;
- while ( getline (rubrica,data) ){
- cout << data << '\n';
- }
- rubrica.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement