Ashford University Computer Science C++ Program Task
Description
Scenario:
A computer with a dual-core CPU needs to invert the colors of a 150 KB bitmap image file located in the RAM as a character array. In order to do this, each bit of the array needs to be complemented (0s are converted to 1s and vice-versa).
Instructions:
write a C++ program using OpenMP for a dual-core processor to maximize processing speed up. Use the ~ operator to complement each byte in the array. Make sure your program is free of synchronization bugs and race conditions.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."