Original Post
OK, I have a class without any pointers, say Camera.
Now I''m trying to do this:
class world {
public:
void set(Camera);
private:
Camera cam;
};
void world::set(Camera c) {
cam = c;
}
So why does this give an error ''operator='' uavailable. The VC++6 compiler should be smart enough to create its own assignment operator for class Camera???
I don''t get it.
edotorpedo