Click here to Skip to main content
12,817,956 members (39,626 online)
Click here to Skip to main content

Tagged as


Posted 15 May 2012

cannot instantiate an abstract class

, 15 May 2012 CPOL
The error message says it all really, it's what any sane compiler should give you for the code you've written. You're trying to create an instance of Base which is abstract.In case you don't know, you're trying to create the instance of base when you write Base::Base(). It's an unnamed...



Compare Revision Minor Date Status Editor
3 - publicly available No 15-May-12 2:43 Available Aescleal
2 No 15-May-12 2:42 Available Aescleal
1 No 15-May-12 0:59 Available Aescleal


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior)
United Kingdom United Kingdom
I've been programming since 1985 - starting with Fortran 77, then moving onto assembler, C and C++ in about 1991. I also know enough Java and Python to read code but you probably wouldn't want me writing it.

I've worked in a wide variety of application areas - defense, banking, games and security with the longest stints being in security. I also seem to end up programming devices far too often. This time I'm programming terahertz band body scanners.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170308.1 | Last Updated 15 May 2012
Article Copyright 2012 by Aescleal
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid