projects
This is an old revision of the document!
- read through getopt(3) manual page - compile, run, and figure out getopt.c example - implement both file output and getopt options in your matrix multiplier
options to implement:
-h/-?/–help display usage information (arguments) -o file/–out file specify output file for resultant matrix -m/–mirror extra: options on 2nd matrix the same on 1st -v/–verbose display what is going on -q/–quiet don't output anything -V/–version display version information -M # matrix1's row count -N # matrix1's col count / matrix2's row count -P # matrix2's col count -1 file/–in1 file specify input file for matrix1 -2 file/–in2 file specify input file for matrix2