How to implement hamming code in C++ or C
I have a prog same as other user (Melissa).
I need help to get me started in coding as i'm almost forgot everything i've learned on C or C++.
The task is implement a program for any hamming codes by using the user input the following:
1. Desired hamming code (n,k)
2. Choose to encode or decode.
There will be a main function, encode function, decode function and menu function.
It will be neat to track errors using function rather than just writing everything in the main function.
if someone can re-explain the basic concept of hamming codes.
i have the basic idea on this, but i almsot forgot on how to code in C or C++..
any kind of help would be highly appreciated