Snippets. You have posted many threads and in each at most snippets of code. There seems to a lot of code, but you never show all essential parts.
Furthemore, you seem to not know basic concepts very well.
1 2 3
|
VecIdx_t col_ind;
SparceMatrixStruct object;
col_ind=object.col_ind_;
| |
could be written:
1 2
|
SparceMatrixStruct object;
VecIdx_t col_ind = object.col_ind_ ;
| |
However, these two statements "give" nothing -- they just create two variables.
You should print values of variables if you want to see something.
If your code does do output, why didn't you show that part too?
The
col_ind_
must be a public member variable of SparceMatrixStruct.
It has the value that the default constructor of SparceMatrixStruct did set to it.
You did not show the definition of SparceMatrixStruct nor the implementation
of constructor of SparceMatrixStruct.
You asked a question about code but did not show the code. We can already tell that answer exists. Do you expect to see it?