#include "field.h" /** @file field.c * @brief You will modify this file and implement five functions * @details Your implementation of the functions defined in field.h. * You may add other function if you find it helpful. *
* @author Your name goes here */ /** @todo Implement in field.c based on documentation contained in field.h */ int getBit (int value, int position) { return 0; } /** @todo Implement in field.c based on documentation contained in field.h */ int setBit (int value, int position) { return value; } /** @todo Implement in field.c based on documentation contained in field.h */ int clearBit (int value, int position) { return value; } /** @todo Implement in field.c based on documentation contained in field.h */ int getField (int value, int hi, int lo, bool isSigned) { return 0; }