I am getting a warning when I iterate through the character pointer and check when the pointer reaches the null terminator.
const char* message = \"hi\"; //I
It should be
if (*message == '\0')
In C, simple quotes delimit a single character whereas double quotes are for strings.