i have algorithm for the knap sack i want to convert it to c++ langugh
can you advice me ?
can i use a file to put the data ?
for example i have knap sack for year 2000, year 2001 and year2002
and each of them have a size and value
thue i have to create a 3 files
but how can i delete the data from the files`for the next user
or do you have another solution or better than the file???
thank you