scanf和scanf_s有什么区别?在大学里,我一直在学习和使用scanf,但在我的个人电脑上,Visual Studio一直在发送这个警告。error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead.我必须将所有scanf更改为scanf_s,否则程序将无法构建。(我正在使用Visual Studio 2013)
double low = 0 , high = 0.0,n = 0.0;printf("Enter the integral limits (low high): ");printf("Enter the number of subinternals (n): ");
scanf= scanf("%lf %l