The transformations for Fortran OpenMP directives described in Tables 1 and 2 equally apply to C/C++ OpenMP pragmas. The main difference is that the extent of C/C++ OpenMP pragmas is determined by the structured block following it, and not by an explicit END pragma as in Fortran. This has the following consequences for pragma instrumentation:
All other changes are simple differences in language (e.g., no call keyword and using #pragma omp instead of !$OMP).