I've got message: undefined reference to AVector::AVector() on the string class AInv { in the following code:
#ifndef AINV_HPP_
#define AINV_HPP_
#include "AVector.hpp"
class AInv {
    public:
        double w;
        double g;
        AVector vector;
};
#endif /* AINV_HPP_ */
definition of AVector:
#ifndef AVECTOR_HPP_
#define AVECTOR_HPP_
class AVector {
    public:
        double x;
        double y;
        double z;
        AVector();
        AVector(const AVector &v);
};
#endif /* AVECTOR_HPP_ */
Is it possible to use class variable (not address) as a class member? I'd like to avoid explicit constructor / destructor for the variable vector.
 
     
    