I am just getting into working with C++ and want to write a program that can use an excel file (or .csv) file to sort data. The csv is just a general example.
I used 4 columns. Food name, type of food, weight, and cost. I want to be able to write a program that will tell me all the combinations of foods possible to buy under a given price range, and order the group from heaviest to lightest (so I am getting the most weight for my money).
For example. List all the combinations of 1 meat, 2 vegetables, and 3 fruits that you can get for under $16.60. List the combinations by total weight from heaviest to lightest.