Main.cc:4:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main(){ ^ Main.cc: In function ‘int main()’: Main.cc:6:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(m=1 && d<=24) cout<<"Pig" ~^~~~~~~~~~~ Main.cc:7:5: error: expected ‘;’ before ‘else’ else cout<<"Mouse" ^~~~