Yeah I noticed that. Probably you need to be doing it in a bit different way
Code: CPP
friend ostream & operator << (ostream &out,const char * ptr)
{
    out<<ptr;
    return out;
}