platform: VS2019 os: win10
Problem: An error about _CRT_SECURE_NO_WARNINGS when I use the std::localtime() function for getting the current systime.
Solution:
- Use an alternative feature function in C++.
- add this line at the first line.
#define _CRT_SECURE_NO_WARNINGS
- add
_CRT_SECURE_NO_WARNINGSon the pre-processor(project>properties>C/C++>preprocessor)


























