I want help regarding how to move data from one row to the next erasing the first row data subsequently.
I have 20 rows and my problem is to move data coming from the server from 1 row to the next, simultaneously deleting the first row data and moving the data further.
For example:- At first 20 rows are filled from 1st row to 20 row, then in the next attempt the log coming from the server has to be deleted from the first row and we have to display data from 2 to 21 ,next 3 to 22 and so on.
I have taken the vector and put the data as a string into the vector and now i have to move data from one row to next with the help of vectors in c++ only, while deleting the 1st row data and moving it forward like first filling 1 to 20 rows with 1 to 20 logs, then 1st row data is deleted and print 2 to 21 logs.
Please help if anyone has some idea.
Thanks.