Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Progge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
Progge
11mo ago
Long time ago I wrote C. Could anyone fill me in why the first code snippet is arg parsing the way it is? int main(int argc, char* argv[]) { if (argc > 1) { char\* r_loc = strchr(argv[1], 'r'); if (r_loc != NULL)