49
edits
Changes
→Case A - Using the Thread window
The first step is to enable openmp in project settngs. Project > Properties > C/C++ > Language >Open MP Support > Yes(/openmp)
When this code is compiled with /openmp, and run. It should output something like this: