This code is suppose to change a binary into a deciaml. Could someone lend me there advice on the code.
:DCode:do
{ remCheck = tmpVal%2; tmpVal = tmpVal/2;
if (remCheck != 0)
{ bitrepTmp[x] = 1; } else if (remCheck = 0) { bitrepTmp[x] = 0; }
x++;
if (tmpVal <= 0)
{ exit = 1;
}
}while (exit != 1);
