I have a cinema room that is an array like this: int cinemaRoom[19][27] which will include the provision of the room (seats, queues, sales of seats and corridors). So i want to create a file to write all this information and then search for it and maybe sometimes will pick for example an specific seat to change it to sold.
What is the best way to write it on a file and the best way to search it in the file and replace for other value?