![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 3
![]() |
Abstract class
Hi there
![]() Can someone tell me what a abstract class is? ... and a pure abstract class? Thanks in advance ![]() |
|
|
|
|
|
#2 |
|
Expert Programmer
|
lol O_o, i would like to know too
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
You guys already know Google is your best friend. Now you need to learn Programmer rule #2: Wikipedia is your second-best.
![]() http://en.wikipedia.org/wiki/Class_(...ncrete_classes |
|
|
|
|
|
#4 |
|
Expert Programmer
|
why thank you Ooble! Btw: google is going to the crapper! I wouldn't advise anyone use it O_o http://www.searchlores.org <- that website offers the power to find anything (picture,file,song) anywhere on the net... at anytime!!! it warns you of the power that site has to offer.. check it out?
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 3
![]() |
Thanks for the advise
![]() |
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
Can you explain exactly how that one's better than Google?
|
|
|
|
|
|
#7 |
|
Expert Programmer
|
searchlores.. is not an engine itself! It is a Fravia site(you might have heard of him?) that contains GOBS of information about engines, and methods of find anything and everything you want! Trust me once you get in there and start reading, good luck stopping!
EDIT: btw, there are hidden things everywhere!! on the first page the words - > Bk:flange of myth ~ What's new is 18 different links!!!
__________________
"When in Rome, Do as the Romans Do" "Beauty is in the eye of the BEER holder" "Save your breath your going to need it for your blow up doll later" SearchLores.org |
|
|
|
|
|
#8 |
|
Programmer
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 3
![]() |
So I have one base pure abstract class named 'CFigura.h':
class CFigura
{
protected:
static unsigned count;
virtual ~CFigura()=0;
public:
virtual double Area()=0;
virtual double Perimetro()=0;
};and one child class 'CCirculo.h': #include "CFigura.h"
class CCirculo : public CFigura
{
static const double PI;
unsigned raio;
public:
CCirculo( unsigned );
virtual ~CCirculo();
double Area();
double Perimetro();
};when I try to compile it says: "Unresolved external CFigura::~CFigura referenced from CCirculo" What's wrong? ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|