Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7062d2b9 authored by Serrière Guillaume's avatar Serrière Guillaume
Browse files

Add error log to test_accuracy.

parent 527baf97
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include <cerrno>
using namespace std; using namespace std;
...@@ -56,6 +57,7 @@ int main (int argc, char** argv) ...@@ -56,6 +57,7 @@ int main (int argc, char** argv)
} }
} }
cout << "Error: Problem opening [" << argv[1] << "]\n"; cout << "Error: Problem opening [" << argv[1] << "]\n";
cerr << "Error: " << strerror(errno);
return 2; return 2;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment