Page 1 of 1

Compile error help again!

Posted: Tue Mar 07, 2006 3:10 pm
by donatello
Please see and tell me my compile error:

Code: Select all

//snip

Posted: Tue Mar 07, 2006 4:22 pm
by chunyi81
Change typeof to __typeof.

And try not to mix cin and scanf. It's not very good programming practice.

Posted: Tue Mar 07, 2006 4:59 pm
by donatello
Thank you very much! I got AC!

Posted: Wed Mar 08, 2006 5:51 pm
by donatello
I have another compile error problem. Please help. It's definitely not typeof this time!

Code: Select all

snip

Posted: Wed Mar 08, 2006 6:20 pm
by Krzysztof Duleba
Include <string> if you want to use std::string.

Are you going to post your code here every time you have a compilation problem? Get gcc 2.95 and test it yourself. Or just read the code carefully again and again - CEs don't happen without a reason.

Posted: Wed Mar 08, 2006 6:54 pm
by donatello
Yes Sir!! ;-)