I am writing the c program using linux shell, i want to save a batch of the input parameter in the text file, input.txt
i want to run my program like this
./a.out < input.txt
at that time, i need to save the input list in the char* array[10]
could somebody give me any hints of source code?