Just a simple question about command line stuff in C.
What does the below mean? I get that -a is an option for the execuble test. test-a < test.txt
But what does '< test.txt' mean?
Also if you guys could help me understand how a simple program would take in options like '-a, -b, -c' as being three different options, that would be helpful. Off the top of my head it seems like the way to do this is just checking if that argument has 2 characters and it just is a '-' followed by a letter for a valid option, but is there any special way to do this? Like is there something in C that automatically recognizes a '-' followed by a letter as something like an option ?