VS2017 C++ encountered the following error when using itoa
'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _itoa. See online help for details.
After research and search, the solution is as follows:
Open the project properties -> c/c++ -> preprocessor -> preprocessor definition -> edit and
enter the following two sentences:
_CRT_NONSTDC_NO_DEPRECATE
_CRT_SECURE_NO_WARNINGS
Recompile after saving the application.
end:
Sharing is also a way to deepen your understanding of the problem again. It may not be comprehensive, but it is definitely useful and will continue to be improved later~