aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-11 19:06:54 -0700
committertafaar <[email protected]>2022-10-11 19:06:54 -0700
commit76d71054beeda0981047c9dd5bfc0fb7ca7a6feb (patch)
tree88d888231600b3fe0426d9960cefce15b7b52450
parentfinished (diff)
downloadcst116-chapter8-debugging-hill-76d71054beeda0981047c9dd5bfc0fb7ca7a6feb.tar.xz
cst116-chapter8-debugging-hill-76d71054beeda0981047c9dd5bfc0fb7ca7a6feb.zip
added flowchart
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging-Flowchart.txt34
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj3
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj.filters5
3 files changed, 42 insertions, 0 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Flowchart.txt b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Flowchart.txt
new file mode 100644
index 0000000..812f0fe
--- /dev/null
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Flowchart.txt
@@ -0,0 +1,34 @@
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+
+SET int I to 0;
+int COUNT;
+
+WHILE (I < 0) {
+ PRINT I;
+ I + 1;
+ }
+
+FOR ( SET COUNT to 0; IF COUNT < 10, CONTINUE; COUNT + 1){
+ PRINT COUNT;
+ }
+
+END; \ No newline at end of file
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj
index b7c71c7..0830171 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj
@@ -129,6 +129,9 @@
<ItemGroup>
<ClCompile Include="CST116-Ch8-Debugging.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <Text Include="CST116-Ch8-Debugging-Flowchart.txt" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj.filters b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj.filters
index 3af9a09..b9d7605 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj.filters
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.vcxproj.filters
@@ -19,4 +19,9 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
+ <ItemGroup>
+ <Text Include="CST116-Ch8-Debugging-Flowchart.txt">
+ <Filter>Source Files</Filter>
+ </Text>
+ </ItemGroup>
</Project> \ No newline at end of file