diff options
| -rw-r--r-- | .idea/.gitignore | 8 | ||||
| -rw-r--r-- | .idea/.name | 1 | ||||
| -rw-r--r-- | .idea/cst116-chapter8-debugging-florea.iml | 2 | ||||
| -rw-r--r-- | .idea/misc.xml | 4 | ||||
| -rw-r--r-- | .idea/modules.xml | 8 | ||||
| -rw-r--r-- | .idea/vcs.xml | 6 | ||||
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 8 |
7 files changed, 34 insertions, 3 deletions
diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..b5f5b63 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +cst116_chapter8_debugging_florea
\ No newline at end of file diff --git a/.idea/cst116-chapter8-debugging-florea.iml b/.idea/cst116-chapter8-debugging-florea.iml new file mode 100644 index 0000000..f08604b --- /dev/null +++ b/.idea/cst116-chapter8-debugging-florea.iml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module classpath="CMake" type="CPP_MODULE" version="4" />
\ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..79b3c94 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> +</project>
\ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..eb5143a --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/cst116-chapter8-debugging-florea.iml" filepath="$PROJECT_DIR$/.idea/cst116-chapter8-debugging-florea.iml" /> + </modules> + </component> +</project>
\ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$" vcs="Git" /> + </component> +</project>
\ No newline at end of file diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index 53e4a61..0dce1cd 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -1,4 +1,6 @@ /********************************************************************
+ * Andrei Florea - CST116 - CH8 - Debugging
+ *
* File: CST116-Ch8-Debugging.cpp
*
* General Instructions: Complete each step before proceeding to the
@@ -15,7 +17,7 @@ * 7) Why didn't the flow of the program return back to the while
* statement?
* 8) Fix this problem by removing the ; after the while statement.
-* 9) Stop debugging and repeat Steps 2 � 5 to verify the correction
+* 9) Stop debugging and repeat Steps 2 � 5 to verify the correction
* worked.
* 10) Stop debugging.
*
@@ -27,7 +29,7 @@ * 4) Check the value of i, now check the condition, does the
* condition evaluate to true?
* 5) Change the "< 0" to a "< 10".
-* 6) Stop debugging and repeat Steps 1 � 4 to verify the correction
+* 6) Stop debugging and repeat Steps 1 � 4 to verify the correction
* worked.
* 7) Stop debugging.
*
@@ -39,7 +41,7 @@ * 4) Fix the problem by adding a "++" after the i in the cout
* statement.
* 5) Run the program to Breakpoint 2 and verify that the output
-* displayed on the screen is 0 � 9.
+* displayed on the screen is 0 � 9.
*
* Debugging Exercise 4
*
|