To implement the Put_To_With_Commas operation as an extension to Natural_Number.
Two students should work together at ONE workstation.
mkdir closed-lab07
cd closed-lab07
cp -R /class/sce/now/221/closed-labs/catalogs/closed-lab07/* .NOTE: The period . is part of the command. It denotes the current directory (folder).
lsYou should see
In the directories AI and CI, you will see a Natural subdirectory. Within AI/Natural you will see one file: Put_To_With_Commas.h, and within CI/Natural you will see one file: Put_To_With_Commas_1.h.
xemacs CI/Natural/Put_To_With_Commas_1.h &
IMPORTANT NOTE: Natural_Put_To_With_Commas_1 extends Natural_Number_1_C. This means that you may write the body of the Put_To_With_Commas operation by layering it on ALL the Natural_Number operations, not just the Natural_Kernel operations.
When you are satisfied that your implementation is working correctly, raise your hand and one of the proctors will come check it. Then you are finished with the closed lab.