I need help with running two function at the same time .
MultiThreading?
void Function1(int n)
{
while(n<10)
{
n++;
}
}
void Function2(int n)
{
while(n<20)
{
n++;
}
}
If these are the 2 functions,can someone tell me how I can start the 2 together from int main().I haven't been able to get it right from the internet.
Please type the code for this,if you can.