Operator overloading threevariables without tmp variableOk, I am able to compile it and run it (after adding a "return color" and swapping the blue and gree...
Passing funcion to pthread_createThanks, I tried this: [code] pthread_t threads [2]; thread_data td_array [2]; Filelist fl; ...
Passing funcion to pthread_createIt seems to be working now. Another problem unfortunately came up. I modified the code of the test ...
Passing funcion to pthread_createRight, but how can I accomplish it? I threw thread td inside the loop [code]for (int i=0; i<2; i++...
Passing funcion to pthread_createThanks for reply, it worked. My code currently is: on main.cpp [code]thread_data td; for (int i...