These are some common questions that come up during this lab.
Visual studio will only show the C/C++ compiler settings if the project contains a C/C++ file.
If you only parallelise the outer loop with #pragma omp parallel for, the variables j and k are shared by every thread. This can lead to them exceeding N, and hence accessing the array out of bounds.