This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:discrete:projects:pnc1 [2020/09/15 14:21] – wedge | haas:fall2020:discrete:projects:pnc1 [2020/10/11 13:27] (current) – [Evaluation Criteria] wedge | ||
---|---|---|---|
Line 4: | Line 4: | ||
</ | </ | ||
- | ======Project: | + | ======Project: |
=====Errata===== | =====Errata===== | ||
Line 18: | Line 18: | ||
=====Objective===== | =====Objective===== | ||
- | To apply your skills in the implementation | + | To continue our exploration |
=====Background===== | =====Background===== | ||
Line 348: | Line 348: | ||
* **make**: compile everything | * **make**: compile everything | ||
- | * any **warnings** or **errors** generated by the compiler will go into a file in the base directory of pnc0 in a file called **errors**; you can **cat** it to view the information. | + | * any **warnings** or **errors** generated by the compiler will go into a file in the base directory of the project |
* **make debug**: compile everything with debug support | * **make debug**: compile everything with debug support | ||
* any **warnings** or **errors** generated by the compiler will be displayed to the screen as the programs compile. | * any **warnings** or **errors** generated by the compiler will be displayed to the screen as the programs compile. | ||
Line 398: | Line 398: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 614: | Line 614: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 | 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 | ||
0.0001 | 0.0001 | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 626: | Line 626: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
./ | ./ | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 637: | Line 637: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
7 11 13 17 19 23 | 7 11 13 17 19 23 | ||
0.0001 | 0.0001 | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 648: | Line 648: | ||
If you'd like to compare your implementations, | If you'd like to compare your implementations, | ||
- | In order to work, you **MUST** be in the directory where your pnc0 binaries reside, and must be named as such (which occurs if you ran **make** to compile them). | + | In order to work, you **MUST** be in the directory where your pnc1 binaries reside, and must be named as such (which occurs if you ran **make** to compile them). |
====check qty==== | ====check qty==== | ||
- | For instance (running on my implementation of the pnc0 programs, some output omitted to keep the surprise alive): | + | For instance (running on my implementation of the pnc1 programs, some output omitted to keep the surprise alive): |
<cli> | <cli> | ||
Line 794: | Line 794: | ||
*: | *: | ||
*: | *: | ||
- | *: | + | *: |
*: | *: | ||
*: | *: | ||
- | *: | ||
</ | </ | ||