We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
in main.cpp, line 149 and 153, it would be better to use strcmp() instead of strstr() to identify command line argument.
// Parse the command line arguments. for (int i = 1; i < argc; ++i) { if ((strcmp(argv[i], "outfile") == 0) && (i + 1 < argc)) { outStream.open(argv[i + 1]); } if (strcmp(argv[i], "dump") == 0) { dump = true; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
in main.cpp, line 149 and 153, it would be better to use strcmp() instead of strstr() to identify command line argument.
The text was updated successfully, but these errors were encountered: