0
How would I make a array of number who I don't know as in yet?
If I use a imu it produces values who I want to make a array but this is based on a sensors who's values only depends on angle so I might not get the same angle again so what would thus mean to that array I had made?
1 Answer
+ 1
use a vector instead of an array. vector are data structure that you access like an array but you can allocate elements on the fly depending on the size of the data source. it's part of the standard template library. if you Google STL vector they have lots of example on how to implement it.