How to initialize the structure in another class?
there is struct in first class:
first_class.h:
typedef struct
{
int x;
int y;
int z;
}*v,*vekt;
and i want to have it in another class:
i tried in another_class.cpp
first_class:: v vector;
it doesnt work
where is problem?
\\========================================
the thing which i want to make is:
i have two clases, in one is placed this strukture, in another is methot which allows entering vector data to struct. I have to make the array of two vectors, but when i use array without ponter, just simple array of struct, it doesnt chenge struct variables.
I suppose there was some confusion with C-style struct typedefs.