Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<fstream>
- #include<stdio.h>
- #include<string>
- using namespace std;
- int main()
- {
- string article ;
- char nextChar;
- while( cin.get(nextChar) ) {
- if( cin.eof() ) break ;
- article.append(1, nextChar) ;
- }
- cout << article ;
- system("pause") ;
- }
- I am a student.<ctrl-z>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement