Commit 769b3ca9 authored by DailyShana's avatar DailyShana

bool

parent 53b872c5
......@@ -82,7 +82,7 @@ int main(int argc, char* argv[]) {
argv[argc] = ptr + 1;
j = 0;
}
in_SPACE = FALSE;
in_SPACE = false;
break;
}
case ' ':
......@@ -93,18 +93,18 @@ int main(int argc, char* argv[]) {
argv[argc][j] = '\0';
++argc;
}
in_TEXT = FALSE;
in_SPACE = TRUE;
in_TEXT = false;
in_SPACE = true;
break;
}
default: {
in_TEXT = TRUE;
in_TEXT = true;
if(in_SPACE) {
argv[argc] = ptr;
j = 1;
} else
++j;
in_SPACE = FALSE;
in_SPACE = false;
break;
}
}
......
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