-
C++ string 정리 (1)소프트웨어전공/C++ Programming 2021. 9. 22. 13:46
https://blockdmask.tistory.com/338
어떤 분께서 좋은 자료를 올려두어 이를 통해 공부했다.
내용이 적지 않아서 당장 필요한 것들 위주로 우선 정리!
1. string 선언
char*, char[] 과는 달리 문자열 끝에 '\0'이 들어있지 않다.
Null문자가 뒤에 따로 없다는 것..!
2. string 클래스의 함수들 정리
- 양이 많아서 몇가지만 살펴보기로 했다.
추후에 복습하고 더 추가하자.