projecttwo.cpp:5: error: new types may not be defined in a return type
projecttwo.cpp:5: note: (perhaps a semicolon is missing after the definition of 'Weapon')
projecttwo.cpp:16: error: return type specification for constructor invalid
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib64/crt1.o: In function `_start':
/glibc-tmp-4211a76efa4c5de6d46269f47808acd6/glibc-2.11.1/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
So I thought it was wrong! Guess not but it's still not compiling...