Here you can find all the information that you'll need throughout the semester.
All announcements will be made on this page so I recommend you monitor it regularly.
- Final Example Answers:
final.pdf
Posted: 09-05-2006 18:58 by fredk
- Final Exam:
date/time: Tuesday May 9, 3:30-5:30PM
place: Same room as lectures.
Posted: 27-04-2006 17:43 by fredk
- valueObject:
By request, I am making my value object classes available. If
you use them then an automatic 15 points will be deducted from your
final project score.
You must request the files from myself or one of the TAs.
Posted: 21-04-2006 15:25 by fredk
- Late Policy Clarification
Assignments will not be accepted if late. You should varify your
submission (i.e. the tar file) before sending to the cse332 account.
During your Friday lab session you may ask for your email submission to
be verified.
- Final project and Extra Credit Lab Update:
The extra credit lab is worth 3 lab/quiz grades. That is, I will replace
your 3 lowest lab/quiz grades with the score you earn on the extra credit
lab (assuming this is to your advantage).
I have posted my scanner and token classes: On the CEC hosts go to
~cse332/labs and look in the directories Scanner and valueToken. Example
code is in Scanner/main.cc. This code also uses the string utilities in the lib
directory. The makefile in ~cse332/labs builds all related code.
You can also get the code from here src in the Scanner and valueToken sub directories.
Posted: 11-04-2006 18:21 by fredk
- Extra Credit Lab and Final project:
The Extra credit lab is to write a C String
library (yes, in C).
There is also a preliminary version of the final
Project.
Posted: 07-04-2006 20:27 by fredk
- handle class:
I am making my handle class available for you to use: you must use
either mine or your own. On the CEC linux hosts (hive or any lab
host) the handle code is in ~cse332/labs/handler. The class needs the
traits class (PolicyTraits) defined in ~cse332/labs/lib/tmpUtils.h.
If you are using the handle class with a base class then you must
specialize this traits class as described in class.
template <> class PolicyTraits<valBase> {
public:
static valBase* clone(const valBase *ptr) {return ptr ? ptr->clone() : 0;}
};
Posted: 04-04-2006 20:57 by fredk
- Quiz 3 Solutions:
quiz.3.doc
Posted: 04-04-2006 17:41 by fredk
- midterm answers:
midterm.doc
Posted: 04-04-2006 15:41 by fredk
- Lab 10:
I have posted lab 10.
Posted: 31-03-2006 20:47 by fredk
- Lab 9 extension:
I have extended the turn in deadline for Lab 10 to midnight on Sunday
(2/4)
Posted: 31-03-2006 16:17 by fredk
- Lab 9 Update:
As discussed in class today, your solution for Lab 9 must handle two
distinct cases:
- The Handle class references a base class (static type) but the
actual object is a derived class (dynamic type). In this case to
prevent slicing you will want the derived class to implement the
clone() member method (ptr->clone()).
- The static and dynamic types of the object referenced by the
handle class is the same. In this case using the new operator and
copy constructor is sufficient (new T(*ptr)).
I suggest using traits as we discussed in class.
Of course the test program submitted with your lab must handle these
two cases.
I have update the lab description to include the example PolicyTraits
class.
Posted: 30-03-2006 17:45 by fredk
- Lab 9:
I have posted lab 9.
Posted: 24-03-2006 15:26 by fredk
- Lab 8:
I have posted lab 8.
I have also posted my solution to lab 7
String
Posted: 03-03-2006 19:39 by fredk
- example String test code:
test.cc
Posted: 02-03-2006 18:06 by fredk
- Lab 7:
I have posted lab 7.
Posted: 24-02-2006 17:25 by fredk
- Lab 6 Update:
I have updated the lab 6 requirements: I added the requirement that
you must supply a test program(s) that verifies all public methods
using both valid and invalid data.
Posted: 18-02-2006 08:46 by fredk
- Lab 6:
I have posted lab 6, it is due during
your next lab session. For this lab I provide you with a class
interface and you must supply the implementation.
Posted: 17-02-2006 17:58 by fredk
- Scanner:
I have posted my scanner source, lib and makefiles
lib,
Makefile.inc
and
Scanner.
Keep in mind that my solution is different than yours, I define
different tokens and print output differently. But my source may
answer some questions. It also shows you how to setup a library
for yourselves.
Posted: 16-02-2006 19:26 by fredk
- My lab 4 solution:
My lab 4 solution is in the file rddir.cc in the
dir directory. The other source file implements
a simple directory listing for regular files.
Posted: 11-02-2006 10:39 by fredk
- TA Office Hours:
Tony: Saturday 1:00-4:00PM, Thursday 8:00-10:00PM
Eric Sunday 5:30-7:30PM
All office ours are in the CEC Linux lab.
Posted: 10-02-2006 18:40 by fredk
- Lab 5:
I have posted lab 5, see homework url.
Posted: 10-02-2006 18:40 by fredk
- Lab Instructions:
Today (02/10) you are to turn in Lab 4 using the turin instructions
included below.
Handouts for Lab and Project assignments:
Posted: 10-02-2006 12:32 by fredk
- Updated notes:
The C/C++ notes that includes the precedence chart are here:
ppt or pdf.
I have created another powerpoint file which just includes the
precedence chart for C and c++. Take a look at the c++
precedence chart and verify it is correct. I put this together quickly
to get you started so do verify against the precedence chart in your
book. Edit or modify this chart as you wish then use while programming.
Prec.ppt.
Posted: 07-02-2006 20:00 by fredk
- useful C++ referecnces:
http://www.cppreference.com/
and the FAQ Lite http://www.parashift.com/c++-faq-lite/
Posted: 07-02-2006 20:02 by fredk
- using getopt:
Here is an example of using getopt() to parse command line args:
getopt.
Posted: 03-02-2006 14:06 by fredk
- lab 4:
the inclass portion of today's lab session:
lab4.
Posted: 03-02-2006 12:02 by fredk
- Roster for lab3:
In case you can not login to the CEC systems here is a roster to use
for lab 3: Roster.
Posted: 02-02-2006 15:19 by fredk
- Lab 3:
For lab 3 you are to write three different C++ programs which read a
student roster file as described in class. The example roster (and
perl code to generate roster) is in the directory ~cse332/work.
See the homework URL for a complete description: homework.html
Posted: 31-01-2006 18:31 by fredk
- Lab 2:
Lab 2 is posted.
Posted: 27-01-2006 11:35 by fredk
- First Lab:
Attendance for the first lab session is mandatory (i.e. a lab grade is
assigned based on your in-lab efforts). Lab description:
lab1
Posted: 19-01-2006 18:11 by fredk