My program is a database management for a theatre which needs to have seats as rows and coloumns which makes the two dimension and the third dimension is the day ( cause every day will have different resevation of seats) i am trying to set up a database in c++ for my program which needs to have a 3 dimensional integer array. written in a file. My program should be able to read the file and load the integers into my 3d array. I should be able to save the changes made to the array save correctly to the file. Any idea on how should i create such a file and methods to access it?