Database program based on c++