Easy way to do parallel processing?

Does anyone know of an easy way to get the computer to do separate tasks for each core?

Assuming each task has no memory collisions etc. how can I get each core to work on it's own separate block of code?
If there no shared memory or anything else, why don't you jurt write four programs?
http://en.cppreference.com/w/cpp/thread
http://en.cppreference.com/w/cpp/thread/thread/thread
This may help you.
Topic archived. No new replies allowed.