Hi,

ich habe mir eine Klasse Point geschrieben:
Code:
#pragma once

class Point {
	private:
		float xyz[3];

	public:
		Point();
		Point(float, float, float);

		float* Point::getPoint3fv();
		void PointPrint(void);

		float getX();
		float getY();
		float getZ();

		void setX(float);
		void setY(float);
		void setZ(float);
};
Jetzt brauche ich eine <map> in der ich genau Objecte von dieser Klasse ablegen kann. Aber Ihrgent wie bekomme ich das nicht auf die Reihe.

Ich includiere <map> und dann versuche ich so was hier:
map<Point*>* allPoints = new map<Point*>();

Ist das ueberhaupt moeglich? Oder ist mein ansatz schon ganz verkehrt?

Danke pfefferkeks