I am trying to learn about OpenMP programming using LabWindows\CVI. So I search the Discussion Forum an found this code fragment.
#omp parallel for
for (int i = 0; i < 10000; i++)
printf ("Iteration %d executed by thread %d\n", i, omp_get_thread_num());
When I build it, I get an error "invalid preprocessing directive". I have include omp.h and have enable OpenMP_support in the Build Options.
What else needs to be done?
Thanks,
Paul