submission.cpp: In function ‘bool StringCheck(char*)’:
submission.cpp:21:19: error: ‘strlen’ was not declared in this scope
if( strlen(_szBuf) > BUF_MAX_LEN )
^
submission.cpp:27:39: error: ‘memcpy’ was not declared in this scope
memcpy(szDest, _szBuf, sizeof(szDest));
^
submission.cpp:32:26: error: ‘strlen’ was not declared in this scope
int len = strlen(szDest);
^
submission.cpp:61:35: error: ‘memset’ was not declared in this scope
memset(szSour, 0, sizeof(szSour));
quna
submission.cpp: In function ‘bool StringCheck(char*)’:
submission.cpp:21:19: error: ‘strlen’ was not declared in this scope
if( strlen(_szBuf) > BUF_MAX_LEN )
^
submission.cpp:27:39: error: ‘memcpy’ was not declared in this scope
memcpy(szDest, _szBuf, sizeof(szDest));
^
submission.cpp:32:26: error: ‘strlen’ was not declared in this scope
int len = strlen(szDest);
^
submission.cpp:61:35: error: ‘memset’ was not declared in this scope
memset(szSour, 0, sizeof(szSour));
이런 에러 메세지가 뜨는데... VS에서는 잘 되는데 무엇이 문제 인지요?
8년 전