c++ <string> <cstring> 어느쪽을 선호 하시나요?

jys923의 이미지

c++ 어느쪽을 선호 하시나요?

string 써왔는데 mfc 하면서 cstring써봤습니다.

왜 mfc 가 욕먹는지 좀 실감이 왔습니다.

cstring은 mfc전용 인것 같은데 헤맸습니다.

전역시 표준이 좋군요.범용이 좋습니다.

세벌의 이미지

세벌의 이미지

The C++ Programming Language 책에 답이 있네요.

https://github.com/BestSonny/materials/blob/master/The%20C%2B%2B%20Programming%20Language%20%5B4th%20Edition%5D%20-%20Bjarne%20Stroustrup.pdf
내려받아서
43.8 Advice 읽어 보셔요.

[4] Prefer to for reasons of ease of use and simplicity of resource management; §43.4.
라고 나오네요.

종이 책 사려면 비싼데... 이걸 인터넷에서는 공짜로 받을 수 있네요. 재미있는 세상입니다. :)