argc parameter in main function doesn't include redirection command [<, >], but I faced a confusing problem when using a double quote:
- Shell: CMD
- I expected
argcis3andYes!:a.exe aa bb < input.txt
- I expected
argcis also3, but5, as I want to input double quote as argument:a.exe \" bb < input.txt
- I expected