aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-12 18:47:16 -0800
committerConnor McDowell <[email protected]>2024-02-12 18:47:16 -0800
commit92d7e79d65ef391132b8aa1b37940690af317fdb (patch)
treeb10aa02e94f9472ecbec7ad1409852fa6b5226de
parentnotes (diff)
downloadin-class-exercise-11-connormcdowell275-92d7e79d65ef391132b8aa1b37940690af317fdb.tar.xz
in-class-exercise-11-connormcdowell275-92d7e79d65ef391132b8aa1b37940690af317fdb.zip
LITERALLY NOTHING
AND I MEAN NOTHING in in-class 11 or 12 will build.
-rw-r--r--Project1/Project1.vcxproj2
-rw-r--r--Project1/Project1.vcxproj.filters2
-rw-r--r--Project1/main.cpp37
-rw-r--r--Project1/program.cpp37
4 files changed, 39 insertions, 39 deletions
diff --git a/Project1/Project1.vcxproj b/Project1/Project1.vcxproj
index 5c8c14c..cf9f30b 100644
--- a/Project1/Project1.vcxproj
+++ b/Project1/Project1.vcxproj
@@ -127,7 +127,7 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="main.cpp" />
+ <ClCompile Include="program.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/Project1/Project1.vcxproj.filters b/Project1/Project1.vcxproj.filters
index ce0c35c..a1fa30d 100644
--- a/Project1/Project1.vcxproj.filters
+++ b/Project1/Project1.vcxproj.filters
@@ -15,7 +15,7 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="main.cpp">
+ <ClCompile Include="program.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
diff --git a/Project1/main.cpp b/Project1/main.cpp
deleted file mode 100644
index 6b180d9..0000000
--- a/Project1/main.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// Name: Connor McDowell
-// date: 2/12/2024
-// class: CST116
-// reason: inclass exercise 11, 2d arrays
-
-#include <iostream>
-#include <ostream>
-
-#define ROW 3
-#define COLUMN 4
-
-using std::cin;
-using std::cout;
-using std::endl;
-
-int matrix[ROW][COLUMN]{ {1,2,3,4}, {5,6,7,8}, {9,10,11,12} };
-
-int print2DArray(int(&matrix)[ROW]{COLUMN})
-{
- for (auto i = 0u; i < ROW; ++i)
- {
- for (auto j = 0u; j < COLUMN; ++j)
- {
- cout << matrix[i][j] << " ";
- }
- }
- return 0;
-}
-
-int main()
-{
-
- print2DArray(matrix);
-
-
- return 0;
-} \ No newline at end of file
diff --git a/Project1/program.cpp b/Project1/program.cpp
new file mode 100644
index 0000000..510e775
--- /dev/null
+++ b/Project1/program.cpp
@@ -0,0 +1,37 @@
+// Name: Connor McDowell
+// date: 2/12/2024
+// class: CST116
+// reason: inclass exercise 11, 2d arrays
+
+#include <iostream>
+#include <ostream>
+
+//#define ROW 3
+//#define COLUMN 4
+//
+//using std::cin;
+//using std::cout;
+//using std::endl;
+//
+//int matrix[ROW][COLUMN]{ {1,2,3,4}, {5,6,7,8}, {9,10,11,12} };
+//
+//int print2DArray(int(&matrix)[ROW]{COLUMN})
+//{
+// for (auto i = 0u; i < ROW; ++i)
+// {
+// for (auto j = 0u; j < COLUMN; ++j)
+// {
+// cout << matrix[i][j] << " ";
+// }
+// }
+// return 0;
+//}
+//
+//int main()
+//{
+//
+// print2DArray(matrix);
+//
+//
+// return 0;
+//} \ No newline at end of file