#include <iostream>    
#include <vector>
 
 
class PUNKT{
public:
    PUNKT(int px=0, int py=0): x(px),y(py) {++zaehl;}
    ~PUNKT() {--zaehl;}
    void verschiebe(int dx, int dy);
    void ausgabe();
protected:                                     
    int x,y;
    static int zaehl;       // Anzahl der Elemente
};
 
int PUNKT::zaehl=1;
 
void PUNKT::verschiebe(int dx, int dy) {
    x=dx;
    y=dy;
}
 
void PUNKT::ausgabe() {
    std::cout << zaehl << " Punkt " << x << "/" << y << std::endl;
}
 
int main(int count, char **args) {
   
    std::vector<PUNKT> test;
    test.push_back(PUNKT(2,3));
    test.push_back(PUNKT(2,3));
    test.push_back(PUNKT(2,3));
    test[0].ausgabe();
    test.clear();
    test[0].ausgabe();
   
    return 0;
}