Thread: Cartesian Coordinates and Lines

  1. #1
    Registered User
    Join Date
    May 2004

    Cartesian Coordinates and Lines

    I am writing a c program which will take set of Cartesian coordinates from User and then display that 'there are no. (1,2..) no. of box(s) with 4,5 or six boundaries'

    for e.g. user input 10,36 15,36 20,36 10,30 15,30 as these input will make a one box with four boundary and there will be total 5 boundaries, so program will display that there is 1 box with 4 boundaries.......

    I have made the program but it is only showing total no of boundaris which will be formed from user i need help that how can i make a program to judge that a one complete box is formed?

    Where one boundary will be 10,36 - 15,36 means from one coordinate to other coordinate is one boundary

  2. #2
    Registered User ventolin's Avatar
    Join Date
    Jan 2004
    post the code/functions and maybe someone can spot the bug/error

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mouse Coordinates are Off
    By Morgul in forum Game Programming
    Replies: 5
    Last Post: 08-20-2006, 11:25 AM
  2. Edit Text color for specific lines
    By JaWiB in forum Windows Programming
    Replies: 7
    Last Post: 07-08-2004, 03:03 PM