CIS 122

Fall 2010

 

 

Home

Syllabus

Schedule

Announce

Links

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Announcements

  • (12-2) Circle.h, Circle.cpp, and Main.cpp from class today.
  • (12-2) If you're seeing a linking error similar to: "error LNK2001: unresolved external symbol "public: void __thiscall Position::Position(double, double, double)"...", it's because you've declared a function in a header which is not implemented in the source. Make sure that you've implemented all functions declared in headers and that the signatures of functions in headers exactly match the signatures of the corresponding functions in the source.
  • (12-2) If you're seeing a compile error similar to: "error C2011: 'Position' : 'class' type redefinition", it is because Position.h is being included more than once by a .cpp file. The most likely cause is including both Line.h and Position.h in Main.cpp because Line.h already includes Position.h. You can remove the redundant references of use preprocessor statements in your Position.h similar to the example on page 293 of the text.
  • (12-1) If you're seeing a compile error similar to: "error C2662: 'Position::getX' : cannot convert 'this' pointer from 'const Position' to 'Position &' Conversion loses qualifiers", you may change the signature of Position::distance(const Position&) to Position::distance(Position).
  • (12-1) If you're seeing a compile error similar to: "error C2512: 'Position' : no appropriate default constructor available", you'll need to add a no-arg constructor to your Position class.
  • (11-30) Final review.
  • (11-23) Circle.h, Circle.cpp, and Main.cpp from class today.
  • (11-23) Final project clarification: Required class functions must perform some computation; that is, they must be more significant than a simple getter (i.e., accessor) function. Also, extra-credit classes for projects based on the Position and Line class must be 3D in nature (i.e., no Square or Circle classes, but Cube, Box, Sphere, Ellipsoid classes are OK).
  • (11-23) Homework and midterm solutions are (or will be shortly) available on the course Blackboard discussion page.
  • (11-1) Midterm review.
  • (10-18) I need to cancel my office hours this Friday (10-22) and unfortunately can not reschedule them earlier in the day due to a faculty meeting.
  • (10-12) Yaniv has changed his Tuesday/Thursday office hours. Updated office hours are listed on the course syllabus page.
  • (10-10) Yaniv and Sohan have swapped Friday office hours. Updated office hours are listed on the course syllabus page.
  • (9-29) The source files linked in the slides can be found here; the executables linked in the slides can be found here.
  • (9-26) Monday, October 4th, I'll be giving a guest lecture 10-11 so my office hours will be 12-1.