Hi,
I would like to got advise on how to create and store file using C++.
example: write a C++ program on daily expanses for every month
(1)
day1- total expanse = $10
day2- total expanse = $12
.
.
.
.
.
.
day30- total expanse = $15
Total expanse report for month of june is $400.
(2)
prompt user:
Enter any month expanse:June
day1- total expanse = $10
day2- total expanse = $12
.
.
.
.
.
.
day30- total expanse = $15
I will write the rest of the program but I do not know how to store the data and rertrive the data.
Any simple sample of this type of program for reference?
I would like to got advise on how to create and store file using C++.
example: write a C++ program on daily expanses for every month
(1)
day1- total expanse = $10
day2- total expanse = $12
.
.
.
.
.
.
day30- total expanse = $15
Total expanse report for month of june is $400.
(2)
prompt user:
Enter any month expanse:June
day1- total expanse = $10
day2- total expanse = $12
.
.
.
.
.
.
day30- total expanse = $15
I will write the rest of the program but I do not know how to store the data and rertrive the data.
Any simple sample of this type of program for reference?