aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk4/hw4_directory
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ee1301/wk4/hw4_directory/strap012_HW4B.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk4/hw4_directory/strap012_HW4B.cpp b/ee1301/wk4/hw4_directory/strap012_HW4B.cpp
index 8cdfff2..6efe3dd 100644
--- a/ee1301/wk4/hw4_directory/strap012_HW4B.cpp
+++ b/ee1301/wk4/hw4_directory/strap012_HW4B.cpp
@@ -25,7 +25,7 @@ int main()
}
fout.open("output_files/histogram.txt");
if (!fout.is_open()) {
- std::cout << "File write failed!";
+ std::cout << "File write failed!\n";
return -2;
}
fin >> Useless >> Useless; //The first line in the file is useless