From aaf5f5fe33122f5d3be780c4ca3ee9f59c55488f Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Sun, 10 Sep 2023 23:09:42 -0400 Subject: [PATCH] show a box --- labs/03_debugging/README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/labs/03_debugging/README.md b/labs/03_debugging/README.md index 5333f5a..429f2df 100644 --- a/labs/03_debugging/README.md +++ b/labs/03_debugging/README.md @@ -51,17 +51,28 @@ connecting two Points. Please download the following source code files needed for this lab: [point.h](./point.h) +[point.cpp](./point.cpp) +[line.h](./line.h) +[line.cpp](./line.cpp) +[roads.cpp](./roads.cpp) As well as the following data files: [input_a.txt](./input_a.txt) +[input_b.txt](./input_b.txt) +[input_c.txt](./input_c.txt) +[input_d.txt](./input_d.txt) ## Checkpoint 2 *estimate: 20-30 minutes* -1. Examine the provided files briefly. How are the files related or dependent upon each other? Hint: Look -at the #include statements. Read through the comments from the developer about the purpose of -each class and function. +1. Examine the provided files briefly. How are the files related or dependent upon each other? Hint: Look at the #include statements. Read through the comments from the developer about the purpose of each class and function. +
+We have intentionally placed a number of bugs in the program that will +cause problems when you attempt to compile and then run these programs. +Even if you spot the problems, don’t fix them yet! +
+ 2. When you’re confident you understand what the original programmer was aiming to do, let’s compile and run the program. Take careful step-by-step notes about every command you run, and every line of the program you add or edit (and why you make that edit). Create a new README.txt file to