Welcome![Sign In][Sign Up]
Location:
Search - www.getbits.c

Search list

[Othergetbits

Description: 一个非常简单但是很有用的小程序,可用来得到一个int型整数指定位数的二进制数,输入一个int型整数,程序会打印出1~32位及5~24位上的二进制(其它位补0),大家可以添加代码让功能更加完善,比如让用户自己输入指定的位数-A very simple but useful little program that can be used to get a int-type integer specified digit binary number, enter an int type integer, the program will print 1 to 32 and 5 ~ 24 on the binary (bit complement other 0), we can add code to allow more complete functionality, such as user input to specify the number of bits, etc.
Platform: | Size: 185344 | Author: echo | Hits:

CodeBus www.codebus.net