what is the algorithim for the prototype function.

Discussion in 'C' started by avinash6174, Nov 3, 2007.

  1. avinash6174

    avinash6174 New Member

    Joined:
    Oct 25, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    /* The offset & length are in terms of bits..
    the fourth parameter is a value which is to be stored in char pointer that is pData
    */
    void putBits(char*pData , int offset , int length , int value )
    {
    }

    int main()
    {
    char *pData = new char[90];

    putBits(pData , 9 , 13 , 200);

    }
     

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