Merge a new file in a current struct

Hello everyone,

I am working on an inventory hardware(struct).

I have to read a file and store it in a vector of struct(push it)
I have accomplished reading the first file and doing whatever menu ask for
except reading a new file

Basiclly I have to read a new file and update the current one.

I think I have to create a new vector of struct inventory // not sure how to do that

and then I think use the merge() to stor in the current file, ofcourse with some check that only new items are added and current items are updated.

Please any hint or information is appreciated

Thanks Detroit
Last edited on
Someone?
Topic archived. No new replies allowed.