checkpoint 3
This commit is contained in:
@@ -107,27 +107,27 @@ You may also want to refer to 1.12 and 1.13 for array syntax.
|
|||||||
command line, and it will print the product (multiplication) of those
|
command line, and it will print the product (multiplication) of those
|
||||||
numbers to the console (`std::cout`).
|
numbers to the console (`std::cout`).
|
||||||
|
|
||||||
Compile and test your program:\\
|
Compile and test your program:
|
||||||
```console
|
```console
|
||||||
g++ -Wall -g -o silly.out silly.cpp
|
g++ -Wall -g -o silly.out silly.cpp
|
||||||
```
|
```
|
||||||
|
|
||||||
If we run:\\
|
If we run:
|
||||||
```console
|
```console
|
||||||
./silly.out 2 3 4
|
./silly.out 2 3 4
|
||||||
```
|
```
|
||||||
|
|
||||||
Then program will print:\\
|
Then program will print:
|
||||||
```console
|
```console
|
||||||
product of integers: 24
|
product of integers: 24
|
||||||
```
|
```
|
||||||
|
|
||||||
And if we run:\\
|
And if we run:
|
||||||
```console
|
```console
|
||||||
./silly.out 3 -1 2 20 5
|
./silly.out 3 -1 2 20 5
|
||||||
```
|
```
|
||||||
|
|
||||||
Then program will print:\\
|
Then program will print:
|
||||||
```console
|
```console
|
||||||
product of integers: -600
|
product of integers: -600
|
||||||
```
|
```
|
||||||
@@ -136,3 +136,22 @@ product of integers: -600
|
|||||||
|
|
||||||
### To complete Checkpoint 2:
|
### To complete Checkpoint 2:
|
||||||
Show a TA or mentor your program. Be ready to demonstrate that your program works with other input requested by the TA or mentor.
|
Show a TA or mentor your program. Be ready to demonstrate that your program works with other input requested by the TA or mentor.
|
||||||
|
|
||||||
|
## Checkpoint 3 *estimate: 45 minutes*
|
||||||
|
|
||||||
|
For the remainder of the lab time, work on the Crash Course in C++
|
||||||
|
Exercises. Discuss the exercises with your lab study group classmates and ask
|
||||||
|
your TA and mentors lots of questions!
|
||||||
|
|
||||||
|
### To complete Checkpoint 3 (and the entire lab):
|
||||||
|
About 10 minutes before the end of lab the TA and mentors will make a final visit to each study group and check you off. Please be ready to quickly update them
|
||||||
|
on your progress.
|
||||||
|
|
||||||
|
## SPECIAL NOTE FOR FIRST WEEK OF CLASSES
|
||||||
|
|
||||||
|
Normally, all lab checkpoints must be earned during your mandatory study group time block.
|
||||||
|
|
||||||
|
However, these lab exercises involved installing new software (which
|
||||||
|
can cause unexpected delays and problems) and some students may have encountered scheduling problems.
|
||||||
|
|
||||||
|
Therefore, for the first lab only, we will allow students to *makeup* the lab checkpoints during office hours. You may attend any office hour time block and be *checked off* by any TA or mentor.
|
||||||
|
|||||||
Reference in New Issue
Block a user