CS 302 - Data Structures & Algorithms II - Spring 2008
Homework 1


Loyola College > Department of Computer Science > CS 302 > Homework > Homework 1

Due

Wednesday, January 16 at the beginning of class

Assignment

  1. Be sure you can log into Peanuts and can access the XEmacs or emacs editor (or vi). Copy getfiles.c and filecopy.c from /cs302/code to your cs302 directory. Compile each with
    gcc <filename>.c -o <filename>

    Be sure each program runs.
  2. Create a makefile that compiles both files. It should create a .o for each .c file and an executable for each program. Turn in a print out of the makefile using a2ps.