1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

what does it mean double latDMS[MAX_POINT_NO][3]

Discussion in 'C++' started by imported_shalini, May 22, 2012.

  1. imported_shalini

    imported_shalini New Member

    Joined:
    May 22, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    do MAX_POINT_NO is predefined if so how it should be defined
     
  2. hobbyist

    hobbyist New Member

    Joined:
    Jan 7, 2012
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    0
    I'm guessing it's the maximum number of points to consider in the data set. you've got 3 doubles for each index position from 0 up to MAX_POINT_NO - 1. There's probably a header file somewhere that defines that value.

    If you're using an IDE with your compiler, you may be able to search through each of the project files to see if it's declared somewhere. If not, just make one up and see what happens.

    const int MAX_POINT_NO = some_value;
     

Share This Page