C++ (Qt)template<typename T>QDataStream& operator>>(QDataStream& s, QVector<T>& v){ v.clear(); quint32 c; s >> c; v.resize(c);...