I am writing a library database management system using c++ in Xcode on my mac.
When i create a executable code from the source code using the command:g++ main.cpp
A a.out file is created which i think is the executable file.
When i open it, and enter the details of books or students, the data is not there the next time i open the file. Is there any way i can make sure that the data stays there permanently?