Command line arguments or reading file
I need to process 10 values. Which way would be better? Getting them as command line arguments or instead reading from a file? Using C by th开发者_如何学运维e way.
If you make them as command-line arguments, then you could do it both ways... i.e.
a.out 1 2 hello abc ...
or
a.out \`cat file_with_arguments.txt\
精彩评论