'scanf_s'는 정의되지 않은 함수라고 하며 'scanf'를 사용하면 된다고 합니다. 아래는 오류 메시지입니다.
main.cpp: In function 'int main()': main.cpp:10:3: error: 'scanf_s' was not declared in this scope scanf_s("%d", &input); ^~~~~~~ main.cpp:10:3: note: suggested alternative: 'scanf' scanf_s("%d", &input); ^~~~~~~ scanf
chelim2002 2년 전
결과값이 왜 오류ㅜ가뜨느지 모르겠네요 ㅠㅠ