I am not very fluent with C++ but I am trying to figure out how 2 things works:



1) When certain action occurred - it creates and stores a new data

Example: Values given

starts ->2
15 min later -> 4
5 min later ->7
25 min later ->1

it creates

Data = 2
Data = 4
Data = 7
Data = 1

2) (following by (1) ) when it been created, it holds that specific data for only a certain time frame (example: 1 hour) then it valued back to 0

I am trying to explain to a programmer who speak in a different language, despite our language barrier, I feel making a visual demonstration will clear things up.

Thank you in advance
Topic archived. No new replies allowed.