변수나 함수가 선언되지 않았어요.
변수나 함수를 선언하고 사용하고 있는지 확인해 보세요.
혹은 이 스코프 바깥에서 선언된 변수나 함수를 사용하고 있지는 않나요?
Main.cpp: In function ‘int main()’: Main.cpp:7:17: warning: format ‘%[^
’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[202]’ [-Wformat=] 7 | scanf("%[^\r\n]",&ch); | ~~~~~^~ ~~~ | | | | | char (*)[202] | char* Main.cpp:16:19: error: ‘wnct’ was not declared in this scope; did you mean ‘wcnt’? 16 | words[wnct][wlen]=ch[i]; | ^~~~ | wcnt Main.cpp:7:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%[^\r\n]",&ch); | ~~~~~^~~~~~~~~~~~~~~~