i've made my own copy of the tool "echo", this is not to improve it or anything, but only to learn about strings and pointers...
now the question: what can i do to improve this code? isn't there a possibility to read argv as one complete string, even if a space is entered?
int main(int argc,char** argv)
char *str;/*one array for every argument*/
char *str2=" ";
while (loop<=argc)/*loop to copy every argument to a string*/
for(loop=0;loop<argc-1;loop++)/*loop to print the strings with a space between them(just like they were entered)*/