Feb 3, 2015 at 10:20pm
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 Feb 3, 2015 at 10:21pm
Feb 3, 2015 at 10:39pm
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 *
Feb 3, 2015 at 10:57pm
Alright. I got everything to work. Thank you everyone for the help!