This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2019:c4eng:projects:mtf1 [2019/09/30 11:56] – [Sample run using multiplication] wedge | haas:fall2019:c4eng:projects:mtf1 [2019/10/01 12:07] (current) – [Specifications] wedge | ||
---|---|---|---|
Line 22: | Line 22: | ||
* prompt the user for the operation (' | * prompt the user for the operation (' | ||
* properly store this in a variable of type **char** | * properly store this in a variable of type **char** | ||
- | * check for a literal ' | + | * check for a literal ' |
* if invalid input, display an error and exit with a non-zero value of 1 | * if invalid input, display an error and exit with a non-zero value of 1 | ||
* prompt for the starting row (0-9) | * prompt for the starting row (0-9) | ||
Line 46: | Line 46: | ||
* For the math operations that are not associative, | * For the math operations that are not associative, | ||
* To display a ' | * To display a ' | ||
+ | =====Compiling===== | ||
+ | As we have been doing all along, use the following options to gcc when compiling: | ||
+ | |||
+ | <cli> | ||
+ | lab46: | ||
+ | lab46: | ||
+ | </ | ||
+ | |||
=====Execution===== | =====Execution===== | ||
Line 189: | Line 197: | ||
*: | *: | ||
*: | *: | ||
- | *: | ||
*: | *: | ||
*:mtf1:no negative compiler messages for program [13/13] | *:mtf1:no negative compiler messages for program [13/13] |