Announcements | Handouts/Homework | Schedule | Class Forum | Fixing AP Files

Computer Science AP
Announcements


Class notes, assignments, handouts, and such

Class Schedule (this is prone to revision... heavy revision)

Monday March 17

Homework #8 due
Tuesday March 18

Meet in lab S-32 for Lab #9
Wednesday March 19

Further lecturing on recursion and efficiency
Homework #9 available

Thursday March 20

Friday March 21

More lecturing
Monday March 24

Homework #9 Due
More lecturing
Homework #10 available
Tuesday March 25

Meet in lab S-32 for Lab #10
Wednesday March 26

Quiz on Recursion, etc
Thursday March 27

Homework #10 Due
Practice for test
Friday March 28

Test on Recursion, etc
Monday March 31

Lecturing on pointers/linked lists
Tuesday April 1

More lecturing
Homework #11 available
Wednesday April 2

Meet in lab S-32 for Lab #11
Thursday April 3

Review lab
Presentation on Marine Biology Case Study overview
More lecturing
Friday April 4

More lecturing
Short in class lab
Homework #11 due
Monday April 7

SPRING BREAK!
Tuesday April 8

SPRING BREAK!
WednesdayApril 9

SPRING BREAK!
Thursday April 10

SPRING BREAK!
Friday April 11

SPRING BREAK!
Monday May 26

Memorial Day
Tuesday May 27

Senior "trip" day..  Juniors need to show up, but we will do something "fun"
Wednesday May 28

Guest Speaker: Jason Vierzba
Thursday May 29

Meet in Lab S-32 for Lab #17
Friday May 30

More linked list lecturing /
Crazy Lecture #2
Monday June 2

Either Lab in S-32 or Crazy Lecture #3
Tuesday June 3

Guest Speaker: Joseph Cohen
Wednesday June 4

Extra Credit Presentations / maybe Crazy Lecture #3 or #4
Thursday June 5

Last "Chapter Exam" Review
Friday June 6

Final "Chapter" Test


Our own class forum

We have a class forum on the pvphs.com servers.  To access this you need to go www.pvphs.com and go to the PVPHS forum button the right side of the screen.  If you already are registered on that forum, please email me the username you use, and I will add you into our Advanced Placement Computer Science forum.  If you have not registered, please click on the register link near the top-right of the page, and follow the instructions.  Once you have a username please email me the username.

Getting case study part ii to compile!

(these instructions were designed for Visual C++ 6.0)

Create a new folder on your computer..

Copy in all of the unedited case study part 2 files into it. Then copy in all of the AP class files (apstring.h, apstring.cpp, apvector.cpp, apvector.h, apmatrix.cpp, apmatrix.h)...
Note: make sure you use the ORIGINAL apstring.h, not the one I modified. (if in doubt, make sure the line #include "apstring.cpp" is not at the end)...

Then double-click on fishsim.cpp. That will bring up Visual C++.

Click on rebuild-all. That will ask you if you want to create a project, select yes.

It will try to compile, and fail. That's ok.

Next click on the tab listed as "File View". Go there, and you should see fishsim files listed on there with fishsim.cpp included. (there may be more, don't worry about it).

You need to add the following files into fishsim files (right click on the title fishsim files and select Add Files to project): apstring.cpp, fish.cpp, environ.cpp, display.cpp, nbrhood.cpp, position.cpp, randgen.cpp, simulate.cpp, utils.cpp

Make sure all of those and fishsim.cpp are listed in there.

Now, if you choose compile it SHOULD work. (it does on my system)


Fixing apstring, apmatrix, apvector, et al

Undoubtedly, you have faced many a problem with all of the ap add-ons.  There is a reason (ok, there are a few possible reasons).  #1 - you may not have them on your system.  #2 - there is a BUG in apstring.cpp (at least in terms of it being able to work with Visual C++)

To run apstring you should have the following 2 files in your include directory (which on Visual C++ 6.0 installed on the C drive will probably be your C:\Program Files\Microsoft Visual Studio\VC98\Include directory).  Note: apstring.cpp is fixed so you can actually use #include <apstring.h> to use it!
apstring.cpp apstring.h

To run apvector you should have the following 2 files in your include directory (which on Visual C++ 6.0 installed on the C drive will probably be your C:\Program Files\Microsoft Visual Studio\VC98\Include directory).
apvector.cpp apvector.h

To run apmatrix you should have the following 2 files in your include directory (which on Visual C++ 6.0 installed on the C drive will probably be your C:\Program Files\Microsoft Visual Studio\VC98\Include directory).
apmatrix.cpp apmatrix.h