#include stdio.h<> <-----there are all correct in the code but don't show on here
#include stdlib.h<>
#include math.h<>
Вы имели в виду
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
?
String char *hamming = NULL;
Что здесь делает String
?Это не ключевое слово CУдалите String
из этой строки.Ваш код полон синтаксических и логических ошибок.
1. List item // should be commented
errorBit += ((currenttBit ^(hamming[hamlength - i] - '0')) + i);
Опечатка здесь currenttBit
должна быть currentBit
for(i = 1, i < hamlength; i = i * 2)
Заменить ,
на ;
In main()
функция
int choice=0;
while(choice!=3)
Когда пользователь введет свой выбор?