What is the c_str() function doing here?
C_str() from Solving a string a challenge
c_str() converts a C++ string into a C-style string which is essentially a null terminated array of bytes.
What is the c_str() function doing here?
c_str() converts a C++ string into a C-style string which is essentially a null terminated array of bytes.