Commit 89a2c23a authored by Charles Gerard's avatar Charles Gerard
Browse files

argc stuff

parent d29b793f
......@@ -15,7 +15,7 @@ int main(int argc, const char* argv[]) {
vector<char> holder; // holder stores the 6 possible characters: (, ), {, }, [, ]
bool isBalanced = true;
if (argc != 2) {
if (argc != 1) {
cout << "wrong length for argc, exiting" << endl;
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment