Discussion in 'C' started by kumardashish, Oct 26, 2010.
hi can any one tell me how to take 64 bit input from console through c language.
%I64d on Windows.
thanx 4 your reply xpi0t0s
actually i have to write a program to calculate the number of 1 present in it's bit field.
input number must be 64bit number.
OK. I use DWORD64 types in conjunction with %I64d. This is helpful for your project as it's an unsigned type, so you can divide it by 2 without worrying about sign extension.
Separate names with a comma.