Is it possible, i find it.

Discussion in 'C' started by inspiration, Apr 16, 2010.

  1. inspiration

    inspiration New Member

    Joined:
    Feb 15, 2010
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    0
    Write a C/C++ program to extract any fractional decimal number (for
    example, 15, 15.0, 0.15 or .15) between the strings "Hello " and "
    World!" (for example, "Hello 1.124 World!"), then return a float.
    float ExtractFloat(const char *str)
    {
    ....
    }

    Write a C/C++ function to allocate memory always aligned at a 16 byte
    boundary.
    int * AllocAlignedMemory(int numBytes)
    {
    ....
    }

    Write a C/C++ program to reverse the bits in a 32-bit unsigned
    integer.
    unsigned int ReverseBits(unsigned int u)
    {
    ....
    }
     
  2. techme

    techme New Member

    Joined:
    Feb 15, 2010
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    0
    Yes it is possible.
    I make it run on my pc.
     

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