Monday, September 13, 2010

Assignment 2 Due Thursday, Sept 16

Some of the notes I have for the assignment are:
Three constructors:
Rectangle(Point , Point)
Rectangle(Point           Point)//with default values
Rectangle(pt l   w) //

Methods to be sure and include:
void draw( ) //draw on screen
print( )
void erase( ) //re-draw but put blank in for border
move(Point neworigin)

// must do one or more of the resize methods
resize(Point newOrigin, Point newCorner)
resize(Point newCorner)
resize(Int l, Int w)

2 comments:

  1. I'm having some trouble with running anything on my system, it's Windows 7 Ultimate 64-bit. Anytime I run even the most simple cpp file, I get the following errors:

    [Linker Error] Unresolved external '_Form1' referenced from C:\PROGRAM FILES (X86)\BORLAND\CBUILDER5\PROJECTS\PROJECT1.OBJ
    [Linker Error] Unresolved external 'TForm1::' referenced from C:\PROGRAM FILES (X86)\BORLAND\CBUILDER5\PROJECTS\PROJECT1.OBJ

    Is anyone else having this issue? Any suggestions? I do run it in Administrator mode, and stuff will compile fine, but it seems to be a problem with any output to the screen. When I run anything that just spins the wheels and outputs nothing, no errors pop up.

    ReplyDelete
  2. I know there were others using windows 7 and they had to rename a file to resolve the issue. If no one replies before class on Thursday, have Hugh ask the entire class what they have done to resolve the problem. Sorry I can't be of more help as I'm working on XP for my OS.

    ReplyDelete