Is there a replacement for '_itoa_s' function in C++

2.1k Views Asked by At

Found this old source for a autoclicker, I wanted to edit and tweak a few strings, so it would be a bit easier for accessibility reasons. https://gist.github.com/iGlitch/c55043119fce86e7bf04efc3aae1b5bf

But just trying to compile the code as it is, I get the following errors

main.cpp: In function 'int WinMain(HINSTANCE, HINSTANCE, LPSTR, int)':
main.cpp:117:2: error: '_itoa_s' was not declared in this scope; did you mean '_itoa'?

Why is the function _itoa_s causing problems as it is? I tried to include < cstdlib > also, but it doesn't work. It also gives error on the 4 other _itoa_s functions.

0

There are 0 best solutions below