Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <iostream>
  3. #include <stdio.h>
  4. #include <string>
  5. using namespace std;
  6.  
  7. void F1(string s)
  8. {
  9.  
  10. }
  11.  
  12. void main()
  13. {
  14. string s[20];
  15. string line;
  16. int i = 0;
  17. while (i<20 && getline(cin, line) && !line.empty())
  18. {
  19. s[i] = line;
  20. i++;
  21. }
  22. system("pause");
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement