Join us on Discord!
You can help CodeWalrus stay online by donating here.

Need some help with C++

Started by gameblabla, April 11, 2016, 11:28:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hello guys,
never thought i would do that but when it comes to C++, i kind of suck.
Basically, i'm working on porting a Plus/4 & C16 emulator (yapeSDL) and it's programmed in C++.
It compiles fine with GCC 4.8 but it fails to build with GCC 5.3...
Why ? According to GCC :

main.cpp:61:30: error: invalid new-expression of abstract class type 'TED'
static TED    *ted8360 = new TED;
In file included from main.cpp:24:0:
tedmem.h:30:7: note:   because the following virtual functions are pure within 'TED':
class TED:

I have posted the source code here :

I looked at upstream but it seems like they have not fixed it.

Any ideas ?
Because i have yet to grapse the concept of classes...  :(
  • Calculators owned: None (used to own an Nspire and TI-89)


Looks like there's an abstract method you forgot to define
  • Calculators owned: TI-83+, Nspire, Nspire CX, Casio Prizm

Powered by EzPortal