Home > Back-end >  fopen
fopen

Time:09-28

Warning 1 warning C4996: 'fopen' : This function or variable may be unsafe. Consider using fopen_s home. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See the online help for details. G: \ qqdownload \ pptv1 \ pptv1 \ include \ opencv2 \ flann \ logger h 66 1 PPTracker

Environment is a visual studio 2013 and opencv248
Please help me

CodePudding user response:

The solution is not already written?

To disable deprecation, use _CRT_SECURE_NO_WARNINGS

CodePudding user response:

Use this function fopen_s, don't use fopen