2014年2月23日 - You print the results in the wrong order. The correct output is '1100101'. You can flip it like this: void ascToBinary(int character, int *ones) { if(character ...
stackoverflow.com