I have a hexadecimal string which I would like convert to decimal format. One idea that struck my head was to create a function that does the job and call the function wherever I want to use it for the conversion. I pictured this on C and then realized that AVR library does not have an iostream.h . What other alternative(s) is suggested? I already have WinAVR installed.