카테고리 없음

[C++] error C4996 - 'swprintf' : swprintf has been changed to conform with the ISO C standard.

남쿤 2013. 11. 14. 13:48
반응형
Visual Studio 2012.
error C4996: 'swprintf': swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.

swprintf(버퍼, format, args);



해결방법 )

영어 뭔소린지 모르겠으나 버퍼사이즈 추가해주면 됨ㅋ
난 비주얼스튜디오2012임.

swprintf(버퍼, 버퍼사이즈, format, args);

반응형