July 12, 2020, 03:39:40 pm

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: DO NOT UPGRADE your TI-83 Premium CE or TI-84 Plus CE to OS 5.5.1 and higher. It removes all compatibility with most games and removes ASM/C programming! DOWNGRADING IS IMPOSSIBLE. BE WARNED! Likewise, do NOT update your TI-Nspire CX past OS 4.5.0, else using Ndless and ASM/C programs will be impossible.

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...  :(


Looks like there's an abstract method you forgot to define

Powered by EzPortal