Home > Back-end >  For data query processing problems
For data query processing problems

Time:09-19

Has been engaged in hardware, a set of data, the data is not ideal, want to deal with, seek advice, data format: first is mark 06 1 e intermediate data 00 02 03 02 07, 08 the back end also have marked as 06 1 e, I want to judge between two 06 1 e is 7686, if it'll just before 7686, less fill 0; Is there any good way to achieve? Pray god gives directions of computer professional, I now use an array, feel too much trouble, it is easy to flee, whether can use container or something simple method?

CodePudding user response:

A simple container, insert the delete operation is convenient, such as a vector

CodePudding user response:

reference 1/f, Simple, Soft reply:
a Simple container, insert the delete operation is convenient, such as the vector
container to find how to realize the two position? Or as a [I]=6 as an array, a [I + 1)=1 e cycle do it? Between the digits by circulating a b++ finally judged by b? Or use pure array operation? Just cut with container orders?

CodePudding user response:

Container can be used as an array, you can also use the container related operations, such as the find, such as iterative algorithms such as sorting, etc.,
  • Related