R
rsk
Friends,
The following logic just converts the hexadecimal values to the binay
values taken into the array.
for(i=31;i>=0;i--){
if ((1<<i)&var1)
array_var1=1;
else
array_var1=0;
}
I have to perform the above operation in so many places,so i wanted to
have a function for this.
Can you give some idea how can i do this??
Thanks in advance.
Rsk...
The following logic just converts the hexadecimal values to the binay
values taken into the array.
for(i=31;i>=0;i--){
if ((1<<i)&var1)
array_var1=1;
else
array_var1=0;
}
I have to perform the above operation in so many places,so i wanted to
have a function for this.
Can you give some idea how can i do this??
Thanks in advance.
Rsk...