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

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