Hi I have a c program that calculates a score (per person) based on 14 different parameters:
$ ./ScorecommandLine 30 0 0 0 0 0 35 1 1 1 130 1 1 1
0.057748
however at the moment I can only calculate one score at a time. What I would like to do is load the parameters multiple times for lots of different people i.e instead of doing:
$ ./ScorecommandLine 150 0 0 0 0 0 35 1 1 1 130 1 1 1
0.0577487
$ ./ScorecommandLine 30 1 0 10 4 0 31 1 15 1 90 1 4 1
0.0897333
$ ./ScorecommandLine 50 0 0 9 0 0 25 1 3 1 123 1 0 0
0.4567748
$ ./ScorecommandLine 30 0 1 0 0 8 35 1 1 1 130 1 1 1
0.0838395
$ ./ScorecommandLine 30 1 1 0 1 0 65 4 4 1 32 1 3 1
0.0495855
where i have to run the command 5 times and have to type the new data for each person every time, I would rather have the data in a csv file and load that into the command line so my program returns all the scores in one go.