When to use std::string in the place of a cstring

Jul 6, 2012 at 7:12am
the c++ string is extremely user friendly and has a ton of helpful functions, but for the most part my book elaborates on the cstring. When will using a cstring be a better option than the c++ string?
Jul 6, 2012 at 7:26am
When will using a cstring be a better option than the c++ string?
When you have to code in C. I honestly can't think of a situation I would prefer a cstring.
Jul 6, 2012 at 7:29am
Just use #include<string>
No point using cstring

It is as good as asking is NOKIA 3310 better than NOKIA LUMIA.
LOL.
Jul 6, 2012 at 8:05am
Use them together. You can convert one to another easily.
Jul 6, 2012 at 12:03pm
Topic archived. No new replies allowed.