void randVals(int val, char* str, double dblval)
{
cout << val << " " << str <<" " << dblval << endl;
}
/**************************************************/
char* str = "Hello World!";
thread thread1(randVals, 3, str, 7.7);
if (thread1.joinable())
{
thread1.join();
}