Class/Inheritence Help Please

I want this program to only write int holy (jesus) when tan::type == 0 but i keep getting a syntax error: if and unexpected skipping function body error, any help? is this possible in this format?

(sorry if names offend some readers)


http://pastebin.com/u8t42Bdz
Topic archived. No new replies allowed.