You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const char * / char * make the program vulnerable to many issues as we need to perform many checks and assign variables to have specific information about each string. So, a switch to std::string seems a viable option. If we really need to modify a string we can use c_str() to get a C like string and perform changes to it then assign the string accordingly.
The text was updated successfully, but these errors were encountered:
const char *
/char *
make the program vulnerable to many issues as we need to perform many checks and assign variables to have specific information about each string. So, a switch tostd::string
seems a viable option. If we really need to modify a string we can usec_str()
to get a C like string and perform changes to it then assign the string accordingly.The text was updated successfully, but these errors were encountered: