Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++ has proper strings?


More than C will ever have, https://en.cppreference.com/w/cpp/string


u8string is meant to be UTF-8? So we now can use strings easily and safely, more or less the way we use them in Python (except still having to free the memory manually)?

Why do people still use C then? In what aspects is it better than C++? Is C++ less portable than C?.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: