I've been playing around on a linux OS Ubuntu 9.04 and I wrote a small program that takes in a string as an argument.
The string is somewhat complicated so I terminate it with a ; (semi-colon) but for some reason (which I would like to know why) the ; doesn't appear part of the input string.
and my first line in the program is:
printf("My argument is: %s\n", argv);
The semi-colon doesn't show in the string printed. However, if I use a comma , or some other character, it displays fine....
Any ideas of why this is happening?
thanks in advance