Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ int main(void) {

if (imgOriginalScene.empty()) { // if unable to open image
std::cout << "error: image not read from file\n\n"; // show error message on command line
#ifdef _WINDOWS
_getch(); // may have to modify this line if not using Windows
#else
getchar();
#endif
return(0); // and exit program
}

Expand Down
4 changes: 4 additions & 0 deletions Main.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
#include "DetectChars.h"

#include<iostream>
#ifdef _WINDOWS
#include<conio.h> // may have to modify this line if not using Windows
#else
#include<stdio.h>
#endif

//#define SHOW_STEPS // un-comment or comment this line to show steps or not

Expand Down