C and C++ utility modules