c++ and strings vs Cstrings

Started by
10 comments, last by conflict 20 years ago
quote:Original post by SiCrane
You know, from the original post I can''t tell if your professors are recommending C style null terminated strings or instances of the MFC CString class. Depending on the compiler you''re using in your class I can see justifications for the latter. The std::string implementations in MSVC 5 and 6 were just wretched. In particular, the nature of their reference counting mechanism made proper multi-threaded programming with them hideously difficult.


Are you certain they did COW?
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
quote:Original post by Magmai Kai Holmlor
Are you certain they did COW?

Positive. I''m looking at the std::basic_string implementation for MSVC 6 right now. (It''s in the xstring file if you want to follow along.)

This topic is closed to new replies.

Advertisement