In my program, it will generate data continuously and I would like to store these data time to time in an array. Could you suggest me a method?
For example, 1.77,1.67,1.56,1.89,1.99... (these data generated continuously)
1st second: 1.77 1.67,1.56,1.89,1.99( store in array)
After 1 second: 1.67,1.56,1.89,1.99,1.33 (remove the first one data in the array and replace it with the following generated data)
How can I remove the data in the array and replace it with the other data?
Could you give me some examples?
Thanks