1
System / Thread, function arguments
« on: May 13, 2015, 03:30:46 pm »
Hi there !
I have a problem with create Thread.
My function - void Func(ObjectSAi obj[],float time,ObjectS &object)
Thread TH(&Func,Mass,time,Player)//is not work(to many arguments of function, or wrong argument of function).
Pls help me . How to pass arguments to functions ?
I have a problem with create Thread.
My function - void Func(ObjectSAi obj[],float time,ObjectS &object)
Thread TH(&Func,Mass,time,Player)//is not work(to many arguments of function, or wrong argument of function).
Pls help me . How to pass arguments to functions ?