kalotay/sparkC — Issue #2: Modularise code
Author: kalotay
Created: 2011-12-07 00:08:48+00:00
State: open

Currently there is just one big main function. It is probably better to split it up somewhat.

I was thinking main, parse_input and print with the following prototypes:

int main(int argc, char* argv[]);
void parse_input(char* input, double* data, double* min, double* max, int size);
void print(double* input, double min, double max);