
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Computer Networks; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

This is a tiny programming assignment mostly to ensure that you can login to the linux lab machines, write a four-line C program, turn it in via the submit server, and verify that you passed tests. Your code will first print a line consisting of the text: “ready”, then, for every line of text read from standard input, it will echo that line right back on standard output. You’ll use “fgets” and “printf”. See printf(3) (the output of “man 3 printf”) and fgets(3). Your code must compile without warnings listed in the style handout and included in the makefile in the template. This assignment is to be done individually.
Login to https://grades.cs.umd.edu/ to learn your username and password for linuxlab.csic.umd.edu. All logins and passwords besides this linuxlab-specific one will be your Maryland directory id. You may login to this server now and then to check that your grades have been well-recorded.
You may download “template-zero.tar.gz” from the course web page: http://www.cs.umd.edu/class/ spring2008/cmsc417/. Untar (using tar xf template-zero.tar.gz), then rename (mv template-zero cmsc417-
Login to https://submit.cs.umd.edu. You may upload a zip file for project zero, or use “make submit” from the command line. That rule runs a java program to upload the file; it requires your username and such.
At the end of this assignment, you should understand: