aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk5/hw5_directory
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-04 19:56:00 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-04 19:56:00 -0500
commit869c3b69ad84b73ed5df02b64c6392240d8cb95d (patch)
tree64298dffc0419bd4de3c3a8fdb9a6280b635a9cb /ee1301/wk5/hw5_directory
parentMerge branch 'master' of github.com:RosstheRoss/TestingFun (diff)
downloadhomework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.gz
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.bz2
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.lz
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.xz
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.tar.zst
homework-869c3b69ad84b73ed5df02b64c6392240d8cb95d.zip
??????
Diffstat (limited to '')
-rw-r--r--ee1301/wk5/hw5_directory/strap012_HW5C.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
index 3fd91d1..861fbbb 100644
--- a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
+++ b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
@@ -58,7 +58,7 @@ void getInput(int input[SIZE][SIZE]) {
void makeNewArray(int oldArray[SIZE][SIZE], int newArray[SIZE][SIZE]) {
for (int row = -1; row < maxRow; row++) {
for (int column = -1; column < maxColumn; column++) {
- newArray[row][column] = oldArray[row-1][column];
+ newArray[row][column] = oldArray[row][column];
}
}
}