aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk5/hw5_directory
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ee1301/wk5/hw5_directory/strap012_HW5C.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
index dc223dd..55a5678 100644
--- a/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
+++ b/ee1301/wk5/hw5_directory/strap012_HW5C.cpp
@@ -16,7 +16,7 @@ using namespace std;
int maxRow = -1, maxColumn = 0;
void getInput(int input[SIZE][SIZE]);
void makeNewArray(int oldArray[SIZE][SIZE], int newArray[SIZE][SIZE]);
-//void pixelAverage(int inArray[SIZE][SIZE], int outArray[SIZE][SIZE]);
+void pixelAverage(int inArray[SIZE][SIZE], int outArray[SIZE][SIZE]);
void printArray(int array[SIZE][SIZE]);
int main() {
@@ -24,7 +24,7 @@ int main() {
outputArray[SIZE][SIZE] = {0};
getInput(inputArray);
makeNewArray(inputArray, outputArray);
- pixelAverage(inputArray, outputArray);
+ //pixelAverage(inputArray, outputArray);
printArray(outputArray);
}