Hello,
I wrote a program in C that does the following: user enters any number of arguments in command line separated by space(single or multiple) and the program outputs http://www.[user arguments].com. (Trying to emulate what mozilla browser does. enter web address and press cntrl+enter, it will add webaddress.com for you).
My program achieves somewhat same except one thing. It removes the spaces between arguments. I would like to echo the command line arguments. How can I do that? How can I read the spaces between two arguments? I know you can add double quote to read them as a one argument but I don't want do that.
Thank you!