prog.cpp: In constructor ‘NameCard::NameCard(char*, char*, char*, char*)’:
prog.cpp:21:35: error: ‘strlen’ was not declared in this scope
prog.cpp:22:27: error: ‘strcpy’ was not declared in this scopeprog.cpp: In function ‘int main()’:
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
왜 이렇게 뜨는거임
씨방!!!!
prog.cpp:21:35: error: ‘strlen’ was not declared in this scope
prog.cpp:22:27: error: ‘strcpy’ was not declared in this scopeprog.cpp: In function ‘int main()’:
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:52:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
왜 이렇게 뜨는거임
씨방!!!!
c-string과 문자열을 헷갈리지 마셈
c-string은 머져?