accessing result fields from array elements of structs after a thread has completed execution

As the error suggests:

totalSum += subsetsOfNumbers[thread].result;

Worked.

I had gotten a different error using . due to the function child_add being declared in a separate file duplicate symbols, which made me think . wasn’t working.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top