Hi,
I appreciate if someone is able to help me.
I've declared a structure and two of it's members are vectors, let's say:
#include <vector>
using namespace std;
struct str{
vector< int >v1();
vector< int >v2();
} str;
However, I don't manage to use those vectors as usual, for example: str.v1[i]=n or str.v2.resize(j).
Is there any way to handle them throughout the program?
Any help would be wellcome. Thanks.