Aug 19, 2014 at 3:46pm
Is this a compiler error or a runtime error?
Aug 19, 2014 at 4:57pm
EDIT: Hmm.. actually it only works in VS -- gcc seems to give the linker error. Nevermind!
After filling in some unknown types... the code compiles just fine for me. Your problem must be in code you are not showing us.
EDIT2: Okay so my local version of GCC and VS it works... but when I submit to IDEone it fails. What compiler are you using?
Last edited on Aug 19, 2014 at 5:04pm
Aug 19, 2014 at 6:18pm
Ah... it was the pure virtual thing.