char *pc = getPt();

if (pc = false) throw exception("Error");
はおkでも、

if (pc != true) throw exception("Error");
はダメだろ。