Advertisement
madconnor

{c++] basic_thread.cpp

Dec 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. //WORK IN PROGRESS
  2. //author: madconnor
  3.  
  4. #include <iostream>
  5. #include <thread>
  6. #include <string>
  7. #include <vector>
  8.  
  9. using namespace std;
  10.  
  11. class basic_thread{
  12. // variables
  13.     const static int buffer = 10;
  14.     //int arrays
  15.     int integer[buffer] = {};
  16.     //string arrays
  17.     string a_string[buffer] = {};
  18.     //char arrays
  19.     char a_char[buffer] = {};
  20.     //cointaners vectors
  21.     vector<int> int_v(10) = {};
  22.     vector<string> int_v(10) = {};
  23.     vector<char> int_v(10) = {};
  24.     //functions
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement