This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
haas:fall2018:cprog:projects:dtr0 [2018/02/02 18:42] – external edit 127.0.0.1 | haas:fall2018:cprog:projects:dtr0 [2018/08/19 16:10] (current) – [Submit Tool Usage] wedge | ||
---|---|---|---|
Line 141: | Line 141: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
lab46: | lab46: | ||
</ | </ | ||
Line 150: | Line 150: | ||
< | < | ||
- | gcc -Wall --std=c99 -o BINARY_FILE SOURCE_FILE | + | gcc -Wall --std=gnu99 -o BINARY_FILE SOURCE_FILE |
</ | </ | ||
The BINARY_FILE comes **immediately after** the **-o**, **NOT** the SOURCE_FILE (it must never **immediately** follow a **-o**). It can precede, and such is perfectly valid (especially if you feel that way more intuitive). | The BINARY_FILE comes **immediately after** the **-o**, **NOT** the SOURCE_FILE (it must never **immediately** follow a **-o**). It can precede, and such is perfectly valid (especially if you feel that way more intuitive). | ||
- | The **-Wall** (treat all warnings as errors, increase general verbosity about warnings) and **--std=c99** (switch compiler to use the **C99** standard of the C language) are options given to the compiler. | + | The **-Wall** (treat all warnings as errors, increase general verbosity about warnings) and **--std=gnu99** (switch compiler to use the **C99** standard of the C language |
To execute your binary, we need to specify a path to it, so we use **./**, which references the current directory (the dot ' | To execute your binary, we need to specify a path to it, so we use **./**, which references the current directory (the dot ' | ||
Line 172: | Line 172: | ||
* Early submissions can earn 1 bonus point per day in advance of the posted due date. | * Early submissions can earn 1 bonus point per day in advance of the posted due date. | ||
* All code must compile cleanly (no warnings or errors) | * All code must compile cleanly (no warnings or errors) | ||
- | * Use the **-Wall** and **--std=c99** flags when compiling. | + | * Use the **-Wall** and **--std=gnu99** flags when compiling. |
* all requested functions must be implemented in the related library or program | * all requested functions must be implemented in the related library or program | ||
* all requested functionality must conform to stated requirements (either on this project page or in comment banner in source code files themselves). | * all requested functionality must conform to stated requirements (either on this project page or in comment banner in source code files themselves). | ||
Line 218: | Line 218: | ||
*:dtr0:no compiler warnings nor errors for dtr0.c [4/4] | *:dtr0:no compiler warnings nor errors for dtr0.c [4/4] | ||
</ | </ | ||
+ | |||
+ | Additionally: | ||
+ | * Solutions not abiding by spirit of project will be subject to a 25% overall deduction | ||
+ | * Solutions not utilizing descriptive why and how comments will be subject to a 25% overall deduction | ||
+ | * Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction | ||
+ | * Solutions not organized and easy to read (assume a terminal at least 90 characters wide, 40 characters tall) are subject to a 25% overall deduction |