blob: 924f52758e0142c0876787a50c6129aba1a48061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include <iostream>
#include <vector>
/*
*
* 3.15
*
* Not completely according to instructions but thats okay. I still learned creating this.
*/
using std::string;
using std::cout;
using std::cin;
using std::cerr;
using std::clog;
using std::endl;
using std::vector;
int main () {
string phrase;
vector<string> vp;
while(getline(cin, phrase)) {
vp.push_back(phrase);
}
for(auto vpi : vp) {
cout << vpi << endl;
}
return 0;
}
|