C++ 'strcpy' gives a Warning (C4996)

前端 未结 9 1122
孤城傲影
孤城傲影 2020-12-03 08:15

I am getting this warning but all functions working properly .

what does this really means?

\'strcpy\': This function or variable may be unsafe. 
Con         


        
9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 08:30

    #pragma warning(disable: 4996)
    

    use above code in the first line of your code.

提交回复
热议问题