Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ create threads

#include <thread>
void foo() 
{
  // do stuff...
}
int main() 
{
  std::thread first (foo);
  first.join();
}
 
PREVIOUS NEXT
Tagged: #create #threads
ADD COMMENT
Topic
Name
8+7 =