Hi, how can you pass any char as an argument to a program e.g. $ and simply place it as a char, not a variable.
Code:int main(int argc,char *argv[]) { ...
Here is an example:
See the problem, it's taking the $fe, as a variable (when it's supposed to simply put each $ f e into my char array), and who knows what other problems could occur, since this is a a massive 700char random string (which I simply trimmed to show as an example to you). How can I input any CHAR as an argument, it must be valid for all common ASCII char 0-127.Code:./a.out "x3i0$fe$nk$l1o82wa2#kr0pd5#44le9$g553mf7" fe: Undefined variable.