wed. office hours


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by warren on July 12, 2001 at 21:40:37:

Hey people,
just thought I'd let you know what I found out in office hrs on wed., since it seemed kind of important to me.
1)while we were there, he got a simple outline of a program working and put it in Tools...this is the minimum specification that our programs will have to meet to compile.
2)he compiled it something like
g++ test.cpp foohandler.cpp abstract_foohandler.cpp foo.cpp
where test.cpp is his test harness, foo.cpp is the foo class (I don't know why not .h), abstract_foohandler.cpp is the generalized class we'll inherit from, and foohandler.cpp is our class derived from abstract_foohandler.cpp. Actually, foohandler just #includes foohandler.h, which is where all of the meat of our program will be, I think.
3) he then called a.out 0, and got some sort of message, and a.out 1 "filename" and got some sort of result.
4) he said that the baz class would be updated (god knows when) to include two different errors...one for out of foo room, and one for a foo constructor error, which happens when the constructor is called with certain arguments. If it happens with a given argument, it will always happen with that argument, if it doesn't happen with a given argument, it will never happen with that argument. I guess he just thought he'd mention that little fact, what the hell.
5) you don't have to use any particular data structure, whatever works


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]