Function not being called from my main function

Pages: 12
How are you suppose to call null strings?
There are no such things as null strings. There are empty strings. And empty string is easily written as ""
Last edited on
Line 65: check( isGood, message, '\0', '\0' );
calls void check( bool, string, string, string );

How does one construct a std::string from char? That seems to fail.


Try:
check( isGood, message, "", "" );
The big difference is that a '\0' is a char, but a "" is a const char *
Alright. I got everything to work. Thank you everyone for the help!
Topic archived. No new replies allowed.
Pages: 12