A set of C/C++ Utility Functions which come in handy