Thread: Linked list programming to find the cartesian coordinate

  1. #1
    Registered User
    Join Date
    Jan 2014
    Posts
    1

    Linked list programming to find the cartesian coordinate

    Hi,
    I am very much new to C programming. However, I have an assignment regarding linked list.Problem Statement is: Using linked list store the coordinates of four cartesian points
    and then find the coordinates having longest distance from its origin.
    Any help on this is really appreciated. Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Yes, I suggest you start with a simple linked list implementation (say of integers).

    It's called breaking the problem down into achievable steps.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. find entry in linked list
    By fcommisso in forum C Programming
    Replies: 4
    Last Post: 11-30-2009, 01:14 AM
  2. where can i find a good tutorial for linked list,binary trees..
    By transgalactic2 in forum C Programming
    Replies: 18
    Last Post: 10-26-2008, 01:13 AM
  3. Trying to convert vectors from cartesian coordinate
    By FALSTON01 in forum C++ Programming
    Replies: 1
    Last Post: 10-20-2005, 05:17 PM
  4. linked list find
    By confuted in forum C++ Programming
    Replies: 7
    Last Post: 07-03-2003, 03:30 PM
  5. Wasn't thinking when making coordinate programming
    By Garfield in forum Windows Programming
    Replies: 0
    Last Post: 11-17-2001, 05:35 PM

Tags for this Thread