deletePos , what does it do ?

Discussion in 'C' started by Zahra, May 19, 2007.

  1. Zahra

    Zahra New Member

    Joined:
    May 4, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Hi;

    which one is true and why

    The function deletePos does the following (Array-Based List):
    (a) shifts array elements one position to the left after the position
    passed.

    b) shifts array elements one position to the left overwriting the
    element at the position passed.
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    deletePos is not a member of the C/C++ standard runtime library. You will need to refer to the documentation for whatever library you have that defines it.
     
  3. Zahra

    Zahra New Member

    Joined:
    May 4, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    this function is refer to the Array-Based List Class ;

    so what does it do ;

    my friend say B

    but i am not sure about that .

    becuse while shifting left , its allready make overwriting
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice