| Name: _____________________ | Class: Comp 217 |
| SSN/ID: _____________________ | Section & Group: ____________ |
In this exercise, you will create your own Quick Reference Survival Guide — a list of commonly used commands and functions in your C++ program development environment. You can use this card for quick reference instead of looking up a frequently used command or function in a manual or accessing online help.
The following table contains an outline of various tasks that you need to perform when creating a program. For each task, list the commands, keystrokes, or mouse actions needed to perform the task. Space is provided after each section to insert additional tasks that you find useful. Use any available resources that describe the operating system, editor, compiler, and debugger to complete the exercise, including past labs and your text.
| System-level File Use | |
|---|---|
| Open a file for editing: | |
| Display the contents of a file: | |
| Copy a file to a different disk or directory: | |
| Rename a file: | |
| List the names of the files stored ona disk or in a directory: | |
| Print the contents of a file to a printer: | |
| List contents of working directory: | |
| List contents of arbitrary directory: | |
| Remove a file: | |
| Rename a file or directory: | |
| Move a file into a different directory: | |
| Copy a file: | |
| Clear the screen/window: | |
| Mount a Zip or Floppy Disk: | |
| Unmount a Zip or Floppy Disk: | |
| Editing a file | |
| Start a new file with a new name: | |
| Open a pre-existing file: | |
| Go left one character: | |
| Go right one character: | |
| Go up one line: | |
| Go down one line: | |
| Go to the beginning of the file: | |
| Go to the end of the file: | |
| Go to the beginning of the current line: | |
| Go to the end of the current line: | |
| Insert a character: | |
| Delete a character: | |
| Insert a line: | |
| Delete a line: | |
| Delete multiple lines: | |
| Move multiple lines to a new location in the file: | |
| Save the file: | |
| Save the file with a new name: | |
| Program Execution & Debugging | |
| Compile a self-contained C++ program: | |
| Run a program: | |
| View program output: | |
| Trace program execution line by line (stepping through the program): | |
| Set a breakpoint at a specific line: | |
| Remove a breakpoint: | |
| Set a watch on a variable: | |
| Remove a watch: | |