Program examples
- Moving object class v. 1
- The same Moving Object project split into separate files:
- The copy constructor and assignemtn operator:
- Static data members and static methods in robot.cpp
- Friend function for MovingObject class:
- Defining the PI constant pi.cpp
- How to use STL deque class to store pointers to objects of a class and sort these pointers.
deque_sample.cpp
- How to create a moving image using a sequence of changing images. This is a complete project in a .zip
archive: image_seq.zip
- Robot queue, fights and battle:
- Inheritance:
- Polymorphism:
- Error handling techniques:
- How to use MS Visual C++ exceptions (.zip archive).
- Smart Pointer example:
- Managed extensions
Here you can find some images to use in graphical examples.