User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:11261
Latest posts:

Interacting with a vector of objects derived from base class
[quote]//ToolToUse can be something from the players inventory or something from the gameworld[/quot...

Interacting with a vector of objects derived from base class
Consider this alternative design that uses a simple struct instead of a class hierarchy: [code]#inc...

Interacting with a vector of objects derived from base class
Inheritance works best if all classes share the same interface that is used everywhere. Then you can...

Implementation of headers
No, the standard library is normally not implemented using "command-line commands". Instead it uses ...

Pure virtual calls not resolving
[quote=AbstractionAnon]When run, the program invokes the STARTUP constructor which saves the argumen...