diff options
Diffstat (limited to '5p16.cpp')
-rw-r--r-- | 5p16.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ #include <iostream> #include <vector> +#include <unistd.h> /* * @@ -40,7 +41,7 @@ void nonidiomatic_for(std::vector<int> &nidf) { } int main (int argc, char *argv[]) { - + if(argc > 2 || argc < 2) { return -1; } std::string argv_s = argv[1]; std::vector<int> iv1; |