Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

error: invalid type for iteration variable ‘i’ #pragma omp parallel for

for (int i=0; i<100; i++) { 
    double x=0.1*i; 
    sum += x*x; 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #invalid #type #iteration #variable #omp #parallel
ADD COMMENT
Topic
Name
8+2 =