In the development of a win 32 console application in c++, i am required to use data which is updated frequently.
ex: In the booking of a train tickets after each transaction the availability of seats are decremented .For Each execution of program i should get the current availability.
my question is where should i store this data like availability of tickets inorder to acess it for the next execution of the program.
I used a text file but getting availability of different trains from the same text file found tedious.