From 81b936a444a5a50ad1dea21e7b8f7d5575e12b66 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 8 Sep 2023 00:47:12 -0400 Subject: [PATCH] highlight the class requirement --- hws/02_schedule_classes/README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/hws/02_schedule_classes/README.md b/hws/02_schedule_classes/README.md index 475a00c..a6ff5b3 100644 --- a/hws/02_schedule_classes/README.md +++ b/hws/02_schedule_classes/README.md @@ -118,18 +118,19 @@ and at the very bottom of your .h file, add this line: #endif ``` -If you want to make a vector of vectors of a type (let’s use int in this example) called vectorname, you can do -so by writing std::vector<std::vector<int> > vectorname and then indexing as usual. vectorname[0] -will return a vector<int> in this example. The most important detail is to remember to put a space +If you want to make a vector of vectors of a type (let’s use int in this example) called vectorname, you can do so by writing + +```cpp +std::vector<std::vector<int> > vectorname +``` + +and then indexing as usual. *vectorname[0]* will return a vector<int> in this example. The most important detail is to remember to put a space between the two closing angle brackets. Some compilers will interpret >> as the input operator, even though it’s obvious to a human reader that this was not the intent. ## Program Requirements & Submission Details -Your program should involve the definition of at least one class that has its own .h and .cpp files, named -appropriately. We have provided a series of datasets to aid in your program development and -debugging. The majority of points for this homework assignment will be awarded for programs that work -correctly for the simple examples. +**For this assignment, your program must involve the definition of at least one class that has its own .h and .cpp files, named appropriately**. We have provided a series of datasets to aid in your program development and debugging. The majority of points for this homework assignment will be awarded for programs that work correctly for the simple examples. Use good coding style when you design and implement your program. Organize your program into functions: don’t put all the code in main! Be sure to read the [Homework Policies](https://www.cs.rpi.edu/academics/courses/fall23/csci1200/homework_policies.php) as you put the finishing touches on your solution. Be sure to make up new test cases to fully debug your program and don’t forget