Horje
unknown amount of threads cpp Code Example
unknown amount of threads cpp
#inculde <iostream>
#include <threads>
#include <vecotr>

std::vector<std::thread*> threads;

for(int i = 0; i < x; i++)
{
  threads.push_back(new std::thread(func));
}




Cpp

Related
c++ correct upto 3 decimal places Code Example c++ correct upto 3 decimal places Code Example
vector and algorithm Code Example vector and algorithm Code Example
Marin and Anti-coprime Permutation codeforces solution in c++ Code Example Marin and Anti-coprime Permutation codeforces solution in c++ Code Example
walk filesystem in c++ Code Example walk filesystem in c++ Code Example
amusia Code Example amusia Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8