aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-04 19:45:13 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-04 19:45:13 -0500
commite5d33301ba7337a976129e48a581ba21a2c09c56 (patch)
tree20ab0b9ee3e72ded2e1934b3108f2fdcdd2848bb /ee1301
parent? (diff)
downloadhomework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar.gz
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar.bz2
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar.lz
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar.xz
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.tar.zst
homework-e5d33301ba7337a976129e48a581ba21a2c09c56.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 b81bb28..6156838 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 = 0; row < SIZE-1; row++) {
for (int column = 0; column < SIZE-1; column++) {
- newArray[row][column] = oldArray[row][column];
+ newArray[row+3][column] = oldArray[row][column];
}
}
}