Home > Back-end > C, in the calling pointer, how to value has been a pointer to an array of change?
C, in the calling pointer, how to value has been a pointer to an array of change?
Time:03-15
On a binocular camera in the process of secondary development, want to one of his * distancez pointer to a numerical filter processing, to achieve the purpose of stable range, short pointer is not my definition, is defined inside the demo, it should be encapsulated, values can real-time changes, if he real-time output value is: 1, 2, 3, 4, 5 I tried for a group of five, use vector to receive, but received five digits are the same, is 1 1 1 1 1, 2 2 2 2 2... Instead of 1, 2, 3, 4, 5 of this, do not apply to each value, so how to do?