Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- using namespace std;
- int main(){
- string x; int j=0;
- ofstream output; ifstream input,input2;
- string something,word;
- string longest = "";
- input.open("something");
- input2.open("word");
- while(getline(input, something)) {
- x=x+something;
- }
- input.close();
- while(getline(input2, word)){
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment