- Clone this assignment to a folder on your external harddrive, OneDrive, or other convenient location.
- Open CLion.
- Select 'Open' from the welcome screen.
- Choose the cloned folder as the project to open.
- CLion should open and allow you to start.
- If a popup says 'Externally added files can be added to Git' or similar, click 'Always Add'.
- Create your program using the given "main.cpp" file located in the "src" folder.
- Any additional source files (e.g. .cpp,.h,etc.) to the src folder.
- Complete the question from the 'Assignment 1.pdf' file.
- Generate a single PDF of all source files (.cpp/.h) by using "File->Print" in CLion.
- Ensure that the PDF is readable with an appropriate font so lines are not wrapped.
- Upload the PDF to the Brightspace assignment folder by the deadline.
- Make sure all source files are added to Git in CLion.
- For your final commit, use the description "assignment completed".
- Push the final submission to GitHub by the deadline.
- It is recommended that you test your program fully. To aid you, the following is the test procedure that will be followed during the marking class.
- Edit a new file called 'test.txt'.
- Add the following lines of text:
This is a story about a man named Jed. A poor mountaineer. Barely kept his family fed. And, up from the ground came a bubblin' crude.
- Type 'L<Return>'
- Type 'I<Return>'
- Type the following text:
Then, one day, he was shooting at some food. Extra Line.
- Type 'L<Return>'
- Type 'I 1<Return>'
- Type the following text (note the blank line!):
Title. The Ballad of Jed Clampet
- Type 'L 1<Return>'
- Type 'D<Return>'
- Type 'L<Return>'
- Type 'D 1<Return>'
- Type 'L<Return>'
- Type 'L 2 4<Return>'
- Type 'D 1 4<Return>'
- Type 'L<Return>'
- Type the following text:
The End.
- Type 'E<Return>'
- Once your program has exited, re-edit the file 'test.txt'.
- The contents should be displayed. If not, type 'L<Return>'
- Type 'E<Return>'
If you have any questions about this process, please ask your instructor!