Assignment One Write a C program that accepts up to 255 arguments and displays these arguments individually, one per line. // K & R example int argc, **argv, **envp; main(argc, argv, envp) { register char **p; for (p = argv; *p != 0; p++) { printf ("%s\n", *p); } } // C99 Syntax Compliant #include // Stops: warning: incompatible implicit declaration of built-in function "printf" main(int argc, char *argv[], char *envp[]) // Stops: warning: assignment makes pointer from integer without a cast { char **p; for (p = argv; *p ; p++) printf ("%s\n", *p); } More detail: Use a Web browser to visit http://pix.cs.olemiss.edu/csci423/prg423.1 High-light the above assignment. Paste it into a local editor of your choice. Write the contents to a file, (e.g., hw1, but be sure to name the source file with the ".c" extension such as hw1.c). Compile the file with gcc. (Maybe you have ssh'd to a unix box like "Turning" or you are in the systems lab with an Ubuntu box under the account "student". Make sure it works. Create a header file with your name, date, and any other message. Run the script program and name an output file like hw1.txt. Show the header file. Show the source file with a command like "more hw1.c" Show the compilation process. Show the program execution. Terminate the script program with the ^D command Email the file to assign@pix.cs.olemiss.edu Possible problems with using Ubuntu: a) Gcc does not work dowmload gcc with the command sudo apt-get install gcc password: (type in the password located on the whiteboard) Bunch of status lines... Hit or Y b) Error messages about not finding stdio.h or crt1.o dowmload the C include files with the command sudo apt-get install build-essential password: (type in the password located on the whiteboard) Bunch of status lines... Hit or Y