Skip to content

Commit 83d0a9c

Browse files
committed
Updated main file.
1 parent ff93b1d commit 83d0a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main(int argc, char** argv) {
1717
std::ifstream file { fileName};
1818
if (!file) {
1919
std::cerr << "Donnez le nom correct du fichier." << std::endl;
20-
return 1;
20+
return -1;
2121
}
2222
std::string FileCode((std::istreambuf_iterator<char>(file)), (std::istreambuf_iterator<char>()));
2323

0 commit comments

Comments
 (0)