I need to write functions, you guys know any websites that can give me some ideas of what to do? Or any help will do

A function named B2U. There is one argument, a char* which is a C-style string containing 0's and 1's representing a bit vector. Assume the longest bit vector contains 32 bits. For example, the bit vector might be "11010101". The value returned by the function is an unsigned long int whose value corresponds to the bit vector.

A function named B2S. There is one argument, a char* which is a C-style string containing 0's and 1's representing a bit vector. Assume the longest bit vector contains 32 bits. For example, the bit vector might be "11010101". The value returned by the function is a signed long int whose value corresponds to the bit vector.