Replace the scanf() function with the scanf_s() function. https://baike.baidu.com/item/scanf_s/443572?fr=aladdin
0 Answer
Replace the scanf() function with the scanf_s() function. https://baike.baidu.com/item/scanf_s/443572?fr=aladdin
is to replace scanf function with scanf_s function. The extra parameter is to specify the length of the buffer. Otherwise, there is a risk of buffer overflow and become an attack vulnerability
这家伙很懒,什么都没留下...