강의

멘토링

커뮤니티

Inflearn Community Q&A

khb4435's profile image
khb4435

asked

Hong Jung-mo's Follow Along and Learn C Programming

3.6 Integer Overflow

똑같이 타이핑 했는데 뭐가 잘못된걸까요?

Resolved

Written on

·

243

1

c

Answer 2

1

honglab님의 프로필 이미지
honglab
Instructor

맨 위에 

#define _CRT_SECURE_NO_WARNINGS

를 빠뜨리셨을 것 같습니다. 제가 지금 주석처리하고 컴파일해보니까

2>D:\git-repo\TBC\Chapter3\Lecture6\lecture6.c(13,2): error C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

라고 오류가 나오네요.

0

khb4435님의 프로필 이미지
khb4435
Questioner

_itoa했는데 밑에 _itoa_s 라고 대신 입력하세요 라고 해서 대신입력했는데 이렇게 나옵니다!

khb4435's profile image
khb4435

asked

Ask a question