Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <iostream>
- #include <stdio.h>
- #include <string>
- using namespace std;
- void F1(string s)
- {
- }
- void main()
- {
- string s[20];
- string line;
- int i = 0;
- while (i<20 && getline(cin, line) && !line.empty())
- {
- s[i] = line;
- i++;
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement