Skip to content
New issue

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

Skips file reading code #6

Closed
joshuali7536 opened this issue Sep 17, 2021 · 0 comments
Closed

Skips file reading code #6

joshuali7536 opened this issue Sep 17, 2021 · 0 comments

Comments

@joshuali7536
Copy link
Contributor

Using a txt file as the input doesn't work because the argString2 variable isn't updated with the path argument.

if (argString2.find(".txt") != std::string::npos)

This line of code will never be true because argString2 will be empty unless there are more than 3 arguments.
I used the following arguments for testing:

-i "Silver Blaze.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants