??? 06/08/07 16:25 Read: times |
#140427 - One small correction Responding to: ???'s previous message |
for(i=0;(i%4==0)?!(v=(i==16)):1;(i%4==3)?printf("%d\n",10*v+b[i++]-48):(v=10*v+b[i++]-48));
Tried it with Hyperterminal to feed the 16 numbers. Works fine. One cosmetic correction was needed to get the first value to print on the next line : ....printf( "\n%d\n",... I now will adapt it to my needs. Thanks JW. Raghu PS : I wonder what will happen if you love C ;-)) |