Advertisement
Guest User

Untitled

a guest
Oct 21st, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1.  
  2. spelbord.cpp(31): error C2259: 'Pion' : cannot instantiate abstract class
  3. 1> due to following members:
  4. 1> 'bool Schaakstuk::ZetIsLegaal(int,int,int,int)' : is abstract
  5. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(15) : see declaration of 'Schaakstuk::ZetIsLegaal'
  6. 1> 'void Schaakstuk::PrintStuk(void)' : is abstract
  7. 1> c:\users\don\desktop\schaakbordbug\schaakstuk.h(16) : see declaration of 'Schaakstuk::PrintStuk'
  8. 1> 'void Schaakstuk::GeefCor(int [][2],int,int,int,int)' : is abstract
  9. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(17) : see declaration of 'Schaakstuk::GeefCor'
  10. 1> 'bool Schaakstuk::IsPion(void)' : is abstract
  11. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(19) : see declaration of 'Schaakstuk::IsPion'
  12. 1>c:\users\dd\desktop\schaakbordbug\spelbord.cpp(31): error C2664: 'Pion::Pion(const Pion &)' : cannot convert parameter 1 from 'Schaakstuk::kleurType' to 'const Pion &'
  13. 1> Reason: cannot convert from 'Schaakstuk::kleurType' to 'const Pion'
  14. 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  15. 1>c:\users\dd\desktop\schaakbordbug\spelbord.cpp(32): error C2259: 'Pion' : cannot instantiate abstract class
  16. 1> due to following members:
  17. 1> 'bool Schaakstuk::ZetIsLegaal(int,int,int,int)' : is abstract
  18. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(15) : see declaration of 'Schaakstuk::ZetIsLegaal'
  19. 1> 'void Schaakstuk::PrintStuk(void)' : is abstract
  20. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(16) : see declaration of 'Schaakstuk::PrintStuk'
  21. 1> 'void Schaakstuk::GeefCor(int [][2],int,int,int,int)' : is abstract
  22. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(17) : see declaration of 'Schaakstuk::GeefCor'
  23. 1> 'bool Schaakstuk::IsPion(void)' : is abstract
  24. 1> c:\users\dd\desktop\schaakbordbug\schaakstuk.h(19) : see declaration of 'Schaakstuk::IsPion'
  25. 1>c:\users\dd\desktop\schaakbordbug\spelbord.cpp(32): error C2664: 'Pion::Pion(const Pion &)' : cannot convert parameter 1 from 'Schaakstuk::kleurType' to 'const Pion &'
  26. 1> Reason: cannot convert from 'Schaakstuk::kleurType' to 'const Pion'
  27. 1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement