ching1007 0 Newbie Poster

hello..
Can anyone help me?
I have to use c programming to calculate the single-error-correction double-error-detection.. I have no idea on how to start to write the program..
I only know that hamming code is used to correct single bit error and parity bit is the error detecting code..
This is what i know..
I really need it..
Thanks