warning C4996: 'getch': The POSIX name for this item is deprecated

Posted by Maziah Mohd Zaki on Stack Overflow See other posts from Stack Overflow or by Maziah Mohd Zaki
Published on 2012-11-18T04:57:22Z Indexed on 2012/11/18 4:59 UTC
Read the original article Hit count: 449

Filed under:
|

1>c:\users\user\documents\visual studio 2008\projects\bengkel\bengkel\login.cpp(196) : warning C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getch. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\conio.h(145) : see declaration of 'getch' 1>c:\users\user\documents\visual studio 2008\projects\bengkel\bengkel\login.cpp(199) : warning C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getch. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\conio.h(145) : see declaration of 'getch' 1>c:\users\user\documents\visual studio 2008\projects\bengkel\bengkel\login.cpp(203) : warning C4065: switch statement contains 'default' but no 'case' labels 1>c:\users\user\documents\visual studio 2008\projects\bengkel\bengkel\login.cpp(225) : 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> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'

© Stack Overflow or respective owner

Related posts about c++

Related posts about c