You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
The text was updated successfully, but these errors were encountered:
Using a txt file as the input doesn't work because the
argString2
variable isn't updated with the path argument.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:
The text was updated successfully, but these errors were encountered: