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

link list

Discussion in 'C' started by nawanian, Jan 17, 2011.

  1. nawanian

    nawanian New Member

    Joined:
    Jan 17, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Suppose that a character string is represented by a list of single characters.
    Write a set of routines to manipulate such list as follows (in the following
    l1 , l2 and list are pointers to a header node of list representing a character string, str is an array of characters,, and i1 and i2 are integers):
    (c) strpsl( l1,,l2 ) to perform the str pos function of section 1.2 on two character strings represented by lists. This function returns an integers.


    (d) strvrfyl ( l1 , l2 ) to determine the 1st position of the string represented by l1 that is not contained in the string represented by l2 . this function return an integer.
    plzzz solve this and mail the simple solution text file on nainawan1@yahoo.com thanx
     

Share This Page