//vector.h
        struct Vector
    {
        public:
        double x;
        double y;
        double z;
    }
I have this library which provides me with certain classes and their methods. How do I extend these classes in my own application code?
right now I am memcopy this vector into a char array and then udp sending it, and then udp receive on the other side and then memcopy ing it into a vector instance from a  char array with 3*sizeof(double).
How do I extend the struct or similar classes so that I can simply
std::string<<vector;
and then send this string to my udp send
and udp receive and then copy the received message directly into a vector?
