Check out example codes for "mingw32/bin/ld.exe: C:\Users\mfrom\AppData\Local\Temp\ccSKcRks.o:PizzaPi.cpp:(.text$_ZN5PizzaC2Ev[__ZN5PizzaC2Ev]+0xa): undefined reference to `vtable for Pizza' collect2.exe: error: ld returned 1 exit status". It will help you in understanding the concepts better.

Code Example 1

virtual void process() = 0;

Learn ReactJs, React Native from akashmittal.com