Sorry to open one of these compelling questions about SO, but I'm just curious about the pros and cons of all types of strings in C ++. My specific question is MFC CStrings and std :: string (since I only use Windows software), but this applies to any of the C ++ string formats. What are you all about - the best type of string to use in C ++ and why?
UPDATE: I really found a duplicate question. Thanks to those who have already answered. Please direct any new answers to this other question: How do you handle strings in C ++?
c ++ string cstring
bsruth
source share