This shows you the differences between two versions of the page.
haas:fall2021:cprog:projects:sam0 [2020/03/27 14:15] – external edit 127.0.0.1 | haas:fall2021:cprog:projects:sam0 [2021/09/12 13:32] (current) – wedge | ||
---|---|---|---|
Line 41: | Line 41: | ||
* Naming your program **encode** will invoke the encoding functionality. | * Naming your program **encode** will invoke the encoding functionality. | ||
* Naming your program **decode** will invoke the decoding functionality. | * Naming your program **decode** will invoke the decoding functionality. | ||
- | * Mode auto-detection should work regardless of any prefixing path information (**./ | + | * Mode auto-detection should work regardless of any prefixing path information (**./ |
* you may want to explore the **strtok(3)** or **basename(3)** functions to assist you, or write your own to obtain similar functionality. | * you may want to explore the **strtok(3)** or **basename(3)** functions to assist you, or write your own to obtain similar functionality. | ||
Line 65: | Line 65: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
" | " | ||
" | " | ||
Line 71: | Line 71: | ||
goodbye | goodbye | ||
^D | ^D | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 79: | Line 79: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
hello, there... | hello, there... | ||
ebiil, qebob... | ebiil, qebob... | ||
^D | ^D | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 89: | Line 89: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
ERROR: key not found | ERROR: key not found | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 97: | Line 97: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | lab46: | + | lab46: |
hello there | hello there | ||
lipps xlivi | lipps xlivi | ||
^D | ^D | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 108: | Line 108: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | lab46: | + | lab46: |
- | lab46: | + | lab46: |
</ | </ | ||
Line 117: | Line 117: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
hello there | hello there | ||
^D | ^D | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 128: | Line 128: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
" | " | ||
" | " | ||
^D | ^D | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 138: | Line 138: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
hello. | hello. | ||
- | lab46: | + | lab46: |
</ | </ | ||
+ | |||
=====Submission===== | =====Submission===== | ||
To successfully complete this project, the following criteria must be met: | To successfully complete this project, the following criteria must be met: | ||
Line 159: | Line 160: | ||
<cli> | <cli> | ||
- | $ submit | + | $ make submit |
- | Submitting cprog project " | + | |
- | -> sam0.c(OK) | + | |
- | + | ||
- | SUCCESSFULLY SUBMITTED | + | |
</ | </ | ||