I have a for loop that has all variables defined
#pragma omp parallel for
for(long long l = 1; l<=sqrtt; l++) ...
When I compile this with the /openmp
command line option in Visual Studio 2012, it gives me
error C3017: termination test in OpenMP 'for' statement has improper form
I don't know why 'for' statement has improper form
.
What is a proper for statement to OpenMP? How do I apply it to my for loop?
See Question&Answers more detail:os