I am currently using STL vector to store table data from file and database , and have compare two table and do insert update and delete.