I discovered that it is possible to create command-line programs via C++.
I am a C++ rookie and I know only basic things, but still, I want to use it to create new command-line programs.
Now, I have discovered this code:
//file name: getkey.exe
#include <conio.h>
int main(){
if (kbhit()) return getche() | ('a' - 'A');
}
which surprisingly simple, and it runs like this: getkey
But it doesn't explain how to create a command with arguments (like: getkey /? or /K or /foo...)
How to create a command-line program with arguments? << Main question