Convert C-style Strings to std::string in C++
Description
Replacing C-style char arrays with std::string improves safety and ease of use.
Original Code (Outdated)
char name[100];
strcpy(name, "John");
Updated Code (Modern)
std::string name = "John";