Welcome to the ENEE114 Recitation Webpage for Spring 2009. 

Dr. Yeung's class website can be found here.

The Dynamic Memory Allocation example done in discussion today can be found at DMA.c

Important: Homework is due before midnight on Friday (2-6-09).
You can turn in handwritten parts of the homework to Dr. Yeung's office (AVW 1327) before 5 p.m. the same day.
If you are not able to turn it in before 5 p.m. you will have to type it up into emacs and submit it using the submit software.

Submit:
If you don't know how to use submit, log onto glue and type submit. A usage file will come up so you can see how to use it. If this still doesn't work correctly or you don't understand it, please come to office hours on Friday. If I don't see or hear from you before Friday at 5 p.m. then your grade will be determined by what is in your submission folder regardless of difficulties with submit.

Submit syntax for first homework:
submit 2009 spring enee 114 0101 1 filename
We are going to submit all the files as assignment 1 for homework 1. If you have already submitted them as seperate assignment numbers, don't worry, I'll fix it.


Discussion Notes (2/2/09):


The command to do a hex dump is: od -x file.c
(file.c is an example filename, you should name your file hw1-1.c)
This will dump the hex output to your screen (you will see a bunch of numbers and letters).
In order to save this to a file use the > symbol (example: od -x file.c > file.dmp
(file.dmp is an example filename, you should name your file hw1-1.dmp)


The command to do an assembly dump is: gcc -S file.c
(Again, file.c is an example filename, you should name your file hw1-1.c)(you should notice a pattern by now)
This will create a .s file with the same name as the file used. Submit this file.


Basic Commands:
CommandDescription
cd directoryChange to directory listed.
mv file locationMove file to location specified.
emacs filenameOpens the file given in the emacs file editor
(creates a new file with filename if filename is not matched to a file existing in the current directory)
gcc file.cThe GNU compiler used to compile a c file.
mkdir directoryCreates a directory
rm fileRemoves (deletes) file
cp file locationCreates a copy of the file in the location specified.
cp file1 file2Creates a copy of file1 in a file named file2.


Resources:
Cygwin - A linux-like interface allowing you to use UNIX commands (cd, mv, cp) on a windows machine.
It will also allow you to use gcc and other packages, but you have to run the setup.sh again (see site for more information).

Filezilla - An ftp client that will allow you to graphically connect and transfer files from your home computer to glue.

Putty - An ssh and telnet client that will allow you to access glue. 

C library - A site containing a listing of the header files (and the functions contained) inside the C library as described by the 1990 ISO standard (and some subsequent ammendments).

Contact info:
Jeremy Peggins
E-mail: jpeg@umd.edu
Office Hours: AVW 2446 (Jasmine lab) M10-11, F12-1
I'm on campus a lot and I have lots of breaks so if you can't make either of these office hours please e-mail me and we'll set up a time to meet.