Step 0


Make a new directory for Lab 12.

Download these files:

Stern Warnings:


Continue on to Step 1 to get started.


linux3[5]% gcc -ansi -Wall -c lab12.c lab12.c: In function 'main': lab12.c:38: warning: unused variable 'head' lab12.c:34: warning: unused variable 'id' lab12.c: In function 'ReadFile': lab12.c:105: warning: unused variable 'tempNode' lab12.c:104: warning: unused variable 'tempStudent' linux1[6]% gcc -Wall -ansi -c linkedlist.c linux1[7]% gcc lab12.o linkedlist.o linux1[8]% a.out Not enough command line arguments! Use a.out <filename> linux1[9]% a.out data.txt Welcome to the last lab of the semester! :) linux1[10]%