Cartesian Coordinates and Lines

This is a discussion on Cartesian Coordinates and Lines within the C Programming forums, part of the General Programming Boards category; I am writing a c program which will take set of Cartesian coordinates from User and then display that 'there ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    1

    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 input...so 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
    Posts
    92
    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, 12:25 PM
  2. Edit Text color for specific lines
    By JaWiB in forum Windows Programming
    Replies: 7
    Last Post: 07-08-2004, 04:03 PM

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