All pastes #775137 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-15 14:26 UTC
rendered paste body
sp1r1t@pandora:~/eafbeadando3$ g++ main.cpp sikidomok.cpp lista.cpp
sikidomok.h:7: error: constructors cannot be declared virtual
sikidomok.h:8: error: invalid pure specifier (only `= 0' is allowed) before ‘;’ token
lista.h:8: error: cannot declare parameter ‘idom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   because the following virtual functions are pure within ‘SikidomBase’:
sikidomok.h:8: note:    virtual bool SikidomBase::Tartalmaz(int, int) const
lista.h:16: error: cannot declare parameter ‘idom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.h:14: error: cannot declare field ‘Linked_List::Node::sikidom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.h: In constructor ‘Linked_List::Node::Node(SikidomBase)’:
lista.h:16: error: ‘NULL’ was not declared in this scope
lista.h: In destructor ‘Linked_List::Node::~Node()’:
lista.h:17: error: type ‘class SikidomBase’ argument given to ‘delete’, expected pointer
sikidomok.cpp:51:6: warning: no newline at end of file
sikidomok.h:7: error: constructors cannot be declared virtual
sikidomok.h:8: error: invalid pure specifier (only `= 0' is allowed) before ‘;’ token
sikidomok.cpp:11: error: prototype for ‘bool Kor::Tartalmaz(int, int)’ does not match any in class ‘Kor’
sikidomok.h:17: error: candidate is: virtual bool Kor::Tartalmaz(int, int) const
sikidomok.cpp: In member function ‘bool Kor::Tartalmaz(int, int)’:
sikidomok.cpp:13: error: ‘sqrt’ was not declared in this scope
sikidomok.cpp: At global scope:
sikidomok.cpp:29: error: prototype for ‘bool Negyzet::Tartalmaz(int, int)’ does not match any in class ‘Negyzet’
sikidomok.h:26: error: candidate is: virtual bool Negyzet::Tartalmaz(int, int) const
sikidomok.cpp:40: error: prototype for ‘bool Otszog::Tartalmaz(int, int)’ does not match any in class ‘Otszog’
sikidomok.h:34: error: candidate is: virtual bool Otszog::Tartalmaz(int, int) const
sikidomok.cpp:47: error: prototype for ‘bool Hatszog::Tartalmaz(int, int)’ does not match any in class ‘Hatszog’
sikidomok.h:41: error: candidate is: virtual bool Hatszog::Tartalmaz(int, int) const
sikidomok.h:7: error: constructors cannot be declared virtual
sikidomok.h:8: error: invalid pure specifier (only `= 0' is allowed) before ‘;’ token
lista.h:8: error: cannot declare parameter ‘idom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   because the following virtual functions are pure within ‘SikidomBase’:
sikidomok.h:8: note:    virtual bool SikidomBase::Tartalmaz(int, int) const
lista.h:16: error: cannot declare parameter ‘idom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.h:14: error: cannot declare field ‘Linked_List::Node::sikidom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.h: In constructor ‘Linked_List::Node::Node(SikidomBase)’:
lista.h:16: error: ‘NULL’ was not declared in this scope
lista.h: In destructor ‘Linked_List::Node::~Node()’:
lista.h:17: error: type ‘class SikidomBase’ argument given to ‘delete’, expected pointer
lista.cpp: At global scope:
lista.cpp:4: error: cannot declare parameter ‘idom’ to be of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.cpp: In member function ‘void Linked_List::add(SikidomBase)’:
lista.cpp:8: error: ‘NULL’ was not declared in this scope
lista.cpp:12: error: cannot allocate an object of abstract type ‘SikidomBase’
sikidomok.h:5: note:   since type ‘SikidomBase’ has pure virtual functions
lista.cpp: At global scope:
lista.cpp:15: error: expected constructor, destructor, or type conversion before ‘::’ token