to swagatob : hehe, where do i put that code?? I try to put it in the getbinary functions, but when I run it, the program will just keep on asking me to enter please print 0 or 1 no matter wut i enter.