CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - www.getbits.c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - www.getbits.c - List
[
Other
]
getbits
DL : 0
一个非常简单但是很有用的小程序,可用来得到一个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.
Date
: 2025-07-07
Size
: 181kb
User
:
echo
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.