Advertisement
helenrut

Untitled

Sep 23rd, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cstring>
  3. #include <cstdlib>
  4. #include <string>
  5.  
  6. using namespace std;
  7. const int arry = 100;
  8. int main()
  9. {
  10. int howmanynames;
  11. string names[arry];
  12. for (int i = 0; i < arry; i++){
  13. names[i] = " ";
  14. }
  15.  
  16. cin >> howmanynames;
  17.  
  18. for(int i = 0; i < howmanynames; i++){
  19. cin >> names[i];
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement