Squiggly line under #include <math.h> in example projects

sorry if this is a dumb question because I’m very new to C++ programming, but it’s showing squiggly lines at multiple places when I open the projects in VS2019. They’re all cpp projects, but if I’m not mistaken math.h is from the standard C library, right?


Yes math.h is from the standard library, if Visual Studio cannot find that header, perhaps you need to check your Visual Studio install has the necessary workloads for C/C++ development.

got it. I solved it by changing the C Language Standard to the latest under projects’ properties.