Rectangle class

This is a discussion on Rectangle class within the C++ Programming forums, part of the General Programming Boards category; hello i need some help w/this rectangle class i first create the class called Rectangle which stores Cartesian coordinates and ...

  1. #1
    Registered User edshaft's Avatar
    Join Date
    Nov 2001
    Posts
    45

    Question Rectangle class help?

    hello i need some help w/this rectangle class
    i first create the class called Rectangle which stores Cartesian coordinates and verifies no single x or y coordinate contains a number large than 20 and is noe less than 0 member functs calculate length width perimeter and area and it has another one to determine whether the rect is a sq or not here is my code
    Attached Files Attached Files
    Last edited by edshaft; 12-15-2001 at 11:57 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Inherite nonvirtual class functionality
    By DrSnuggles in forum C++ Programming
    Replies: 2
    Last Post: 04-30-2009, 01:52 PM
  3. class composition constructor question...
    By andrea72 in forum C++ Programming
    Replies: 3
    Last Post: 04-03-2008, 05:11 PM
  4. deriving classes
    By l2u in forum C++ Programming
    Replies: 12
    Last Post: 01-15-2007, 04:01 PM
  5. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 06:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21