This shows you the differences between two versions of the page.
haas:fall2021:cprog:projects:cos0 [2020/10/19 20:14] – external edit 127.0.0.1 | haas:fall2021:cprog:projects:cos0 [2021/10/03 20:02] (current) – wedge | ||
---|---|---|---|
Line 15: | Line 15: | ||
* can obtain information from the command-line (argc/argv) | * can obtain information from the command-line (argc/argv) | ||
* can call functions from a library (gd). | * can call functions from a library (gd). | ||
+ | |||
=====Background===== | =====Background===== | ||
We've spent our time so far this semester covering the basic concepts of programming, | We've spent our time so far this semester covering the basic concepts of programming, | ||
Line 60: | Line 61: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46:~/src/SEMESTER/cprog$ grabit cprog cos0 |
make: Entering directory '/ | make: Entering directory '/ | ||
- | ‘/ | + | ‘/ |
- | ‘/ | + | ‘/ |
make: Leaving directory '/ | make: Leaving directory '/ | ||
- | lab46: | + | lab46:~/src/SEMESTER/cprog$ cd cos0 |
- | lab46: | + | lab46:~/src/SEMESTER/ |
Makefile | Makefile | ||
- | lab46: | + | lab46:~/src/SEMESTER/ |
</ | </ | ||
Line 87: | Line 88: | ||
You've got a monitor and keyboard hooked up to your pi that you are using (preferred method for class). | You've got a monitor and keyboard hooked up to your pi that you are using (preferred method for class). | ||
- | Open a file browser, web browser, or image viewer and navigate to/open up your **cos0.png** image in your **~/src/desig/cos0/** directory. | + | Open a file browser, web browser, or image viewer and navigate to/open up your **cos0.png** image in your **~/src/SEMESTER/ |
Rinse and repeat as you go through revisions. | Rinse and repeat as you go through revisions. | ||
Line 97: | Line 98: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 103: | Line 104: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
- | Note that you will be prompted for your lab46 password. | + | Note that you may be prompted for your lab46 password. |
Then over on lab46, run this: | Then over on lab46, run this: | ||
Line 116: | Line 117: | ||
Then, point a web browser at the following URL: | Then, point a web browser at the following URL: | ||
- | * https:// | + | * https:// |
NOTE: sometimes the web browser caches previous results, you may have to refresh a few times on revisions to get changes to manifest. | NOTE: sometimes the web browser caches previous results, you may have to refresh a few times on revisions to get changes to manifest. | ||
+ | |||
=====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 135: | Line 137: | ||
<cli> | <cli> | ||
- | $ submit | + | lab46: |
- | Submitting cprog project " | + | |
- | -> cos0.c(OK) | + | |
- | + | ||
- | SUCCESSFULLY SUBMITTED | + | |
</ | </ | ||