목록C4996 (3)
SPRING :: NOTE
[ERROR] error C4996: 'kbhit': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _kbhit. See online help for details.
error C4996: 'kbhit': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _kbhit. See online help for details. kbhit(); 함수를 _kbhit(); 으로 변경
ERROR
2016. 10. 20. 17:48
[ERROR] error C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getch. See online help for details.
error C4996: 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getch. See online help for details. POSIX 함수 이름인 getch 대신 ISO C++ 호환 네임인 _getch 를 쓰는걸 권장. getch 함수 쓴 곳을 _getch로 바꾸면 된다.
ERROR
2016. 10. 20. 17:39
[C] inet_addr C4996 에러
error C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings 위와같은 에러 발생 시, include 전에 아래와 같은 코드 한줄 추가#define _WINSOCK_DEPRECATED_NO_WARNINGS 예) #define _WINSOCK_DEPRECATED_NO_WARNINGS #include #include #include #include
Development Language/C · C++ · MFC
2016. 6. 9. 18:07