강의

멘토링

커뮤니티

Inflearn Community Q&A

owljin97864023's profile image
owljin97864023

asked

[10 minutes a day | C++] Introduction to C++ programming that anyone can easily learn

User input and string

string에서 문자열 길이

Written on

·

256

1

 
char이용 시에는 문자열의 길이를 strlen으로 구했는데 string이용 시에는 어떻게 구하나요?
C++

Answer 1

0

pandacoding님의 프로필 이미지
pandacoding
Instructor

length() 함수를 사용하시면 됩니다!

사용법은 이 문서를 확인하시면 될 것 같습니다.

owljin97864023's profile image
owljin97864023

asked

Ask a question