strcpyについての質問です。
VisualC++の2010にて以下のように作成したところ、warningが出力されます。
====================================================================================
const char *test = "テスト";
char test2
strcpy( test2 , test ) ;
// warning内容
warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> i:\microsoft visual studio 10.0\vc\include\string.h(105) : 'strcpy' の宣言を確認してください。
====================================================================================
初歩的な質問だと思いますが、ご助言をいただきたく思います。
よろしくお願いします。