|
21 Nov
Optional Review Class on shell scripts Wed 25 Nov
|
Bruce will be at the science center Wed 25 Nov
from 6:30PM-8:30PM. Check the classroom and/or
lab.
|
|
19 Nov
Helpful Script Example
|
On the Assignment 6 Page
is a link to a script that shows how to process command line
options as well as filenames.
|
|
18 Nov
Assignment 6 is Posted
|
Please read the faq at the /project page for more
information.
|
|
12 Nov
fl assignment - please correct delete()
|
If you read the source code to ws13.c, you will see that the delete()
method comments say that function is not correct and says you have to
correct it. Please do so.
|
|
31 Oct
Assignemt 5 Posted
|
The project assignment #5 has been posted.
|
|
21 Oct
Sample Solutions to tt2ht
|
The page for tt2ht
now has links to two sample solutions. These are good examples
of programming style and effective algorithms.
|
|
12 Oct
Assignment 4 is Posted
|
The word frequency counting project is posted on the
assignments page.
|
|
06 Oct
Electronic submission for paper pointers
|
Use this command from your account on nice:~lib113/handing pptrs
|
|
03 Oct
Assignment 3 is Posted
|
The assignment on pointers is posted. It is due in a week.
It is a short but really important assignment.
|
|
30 Sep
who on the server - nobody
|
When you run who on the web server via a cgi page,
nothing shows up. The reason is that there are no people
logged into that machine. Recently (since last year, I think)
the web server is a dedicated machine that regular users do
not login to. Therefore who shows no people logged in.
A more useful, user-related command is last -10
which shows the last 10 logins on the machine. A few
entries may show up. The output of last is also a text table
with well-defined columns.
|
|
26 Sep
Problem with C programs under CGI
|
A subtle lack of consistency between the nice machines on which
you compile code and the web server on which the cgi scripts run
causes C tools (like tt2ht) to fail mysteriously.
A solution is to compile with the
-fno-stack-protector option, as in
cc -fno-stack-protector tt2ht1.c -o tt2ht1
We hope to have this cleared up soon.
|
|
23 Sep
Assignment 2 is Posted
|
The second assignment is now posted on the Assignments section
of this site.
|
|
17 Sep
HW1 Notes
|
- note1: day not time
-
The text version of the assignment used to contain
an version of problem 6 that asked you to write code
to find bad values in the TI field. The current
version asks you to find bad values in the day field.
Please do the current version.
- note2: backslashes in problem 3
-
The program you write is supposed to retain the
backslashes. Therefore:
| Input | output |
| "hello" | hello |
| "he said \"hi\"" | he said \"hi\" |
| "hello\t\n" | hello\t\n |
| "use \\ to get \ in C" | use \\ to get \ in C |
|
|
09 Sep
Read about Finite State Machines for Assignment 1
|
The webpage for Assignment 1
has a link to a piece
about
finite state machines. This information can help you a lot
with the first assignment.
|
|
09 Sep
Read about the Basic Ideas of Unix Programming
|
The article at
this link
explains clearly the basic principles of building and using tools
in a Unix environment.
|
|
09 Sep
Assignment 1 is Posted
|
The first assignment is now posted on the Assignments link.
Most of it is based on the material in class 2 and some of
class 3.
|
|
02 Sep
First Week Meetings and Events
|
The class meets in the Harvard Science Center room 110.
If you are new to the Science Center computer
system, new to Unix, want to discuss your
preparation for the course, or just have questions about
the course, come to office hours and/or an introductory
section the first week.
| Date | When | What | Where |
| Wed Sep 2 | 7:35-9:35 |
Class 1 | Science Center Room 110 |
| Thu Sep 3 | 6:00-8:30 |
Office Hrs | Science Center Linux Lab |
| Wed Sep 9 | 5:30-7:30 |
Office Hrs | Science Center Linux Lab |
| Wed Sep 9 | 6:00-7:00 |
Section | Science Center Room B-10 |
| Wed Sep 9 | 7:35-9:35 |
Class 2 | Science Center Room 110 |
| Thu Sep 10 | 6:30-7:30 |
Section | Science Center Room 111 |
| Thu Sep 10 | 7:30-9:00 |
Office Hrs | Science Center Linux Lab |
|
|
30 Jun
Welcome to CSCI-E113
|
Welcome to the website for CSCI-E113: Introduction
to C, Unix/Linux, CGI Programming.
The course begins on Wednesday, September 2, 2009 at 7:35PM.
Course Prerequisites We expect students to have a good
knowledge of programming; the course introduces programming
in C/Unix/CGI, not programming itself. Try
these exercises to be sure you are not getting in over your head.
If you have questions about the course, please write to the instructor:
Bruce Molay (molay at fas.harvard.edu).
|