Hi, I'd like to create thread wich call one function
this function takes a structure (2dArray) in its parameter and return another structure (Path).
the prototype looks like this :
Path function1 (2dArray);
I have problems because the threads parameters are (void *(void *)) and return void*
User Profile
Collapse
-
problem with multi-threading parameters ( C pthread )
-
Thank you so much ! -
How to convert string into an object
Hi, i wrote a table into a .txt file and when i read the line i want to convert this string into an object.
a table like this one :
[[-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, 0, 1, -1, 0, -1], [-1, -1, -1, 1, 0, -1, -1, -1], [-1, -1, -1, -1, -1, 1, 0, 1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1]]
No activity results to display
Show More
Leave a comment: