Kagalive

collections-v-00001

Sep 30th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.69 KB | None | 0 0
  1. //https://app.pluralsight.com/course-player?clipId=9591b217-52b1-41d4-97d8-498731301073
  2. //https://bit.ly/freePS2020
  3.  
  4. //includes.h
  5.  
  6.  
  7. #include <iostream>
  8. using std::cout;
  9. using std::cin;
  10.  
  11. #include <string>
  12. using std::string;
  13.  
  14. #include <vector>
  15. using std::vector;
  16. using std::begin;
  17. using std::count;
  18.  
  19. #include <algorithm>
  20. using std::sort;
  21. using std::count;
  22.  
  23.  
  24.  
  25. //main.cpp
  26.  
  27. #include "includes.h"
  28.  
  29. int main()
  30. {
  31.  
  32.     vector<int> nums;
  33.        
  34.     for (int i = 0; i < 10; i++)
  35.     {
  36.         nums.push_back(i);
  37.     }
  38.  
  39.     for (auto item : nums)
  40.     {
  41.         cout << item << " ";
  42.     }
  43.     cout << "\n"l
  44.  
  45.     vector<string> words;
  46.  
  47.     cout << "Enter Three Words: "
  48.     for (int i = 0; i < 3; i++)
  49.     {
  50.        
  51.     }
  52.  
  53.  
Add Comment
Please, Sign In to add comment