a databse system writen in c++