登录
首页 » C# » 【程序54】 题目:取一个整数a从右端开始的4~7位。 程序分析:可以这样考虑: (1)先使a右移4位。 (2)设置一个低4位全为1,其余全为...

【程序54】 题目:取一个整数a从右端开始的4~7位。 程序分析:可以这样考虑: (1)先使a右移4位。 (2)设置一个低4位全为1,其余全为...

于 2022-04-08 发布 文件大小:3.75 kB
0 138
下载积分: 2 下载次数: 1

代码说明:

【程序54】 题目:取一个整数a从右端开始的4~7位。 程序分析:可以这样考虑: (1)先使a右移4位。 (2)设置一个低4位全为1,其余全为0的数。可用~(~0

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PCA-based-on-OpenCV-and-cPP-
    一篇用于理解PCA主成分分析的文章,该文章用基于Opencv和C++的源码对PCA进行说明。(One used to understand the PCA principal component analysis of the article, the article described the PCA-based the Opencv and C++ source.)
    2012-04-25 11:00:01下载
    积分:1
  • EmbeddedProject1
    说明:  基于VS2019+VisualGDB的STM32F10X 项目模板 编程语言:C++11 调试方式:Jlink(STM32F10X Project Template Based on VS2019+Visual GDB Programming language: C++ 11 Debugging: Jlink)
    2020-06-18 22:00:01下载
    积分:1
  • Windows游戏编程大师技巧(第二版)
    windows下游戏编程的好书,需要的朋友可以下载(windows under game programming books, a friend in need can be downloaded)
    2020-06-26 09:40:02下载
    积分:1
  • FLash使用
    flash source,which is used to save the alarm history records
    2017-09-16 15:06:48下载
    积分:1
  • VCSerialPortProgram
    串口调试程序,输入值或者数都行,可以调baudrate等参数。(serial port test program)
    2009-06-04 12:29:45下载
    积分:1
  • PCB
    这是code使用说明,对大家比较有帮助,新手必备(This is the code for use)
    2013-12-01 18:22:12下载
    积分:1
  • FOC控制理论(超好)
    说明:  电机控制FOC算法理论,简单易懂,初学首选。(The theory of FOC algorithm for motor control is simple and easy to understand. First choice for beginners.)
    2021-04-27 13:08:44下载
    积分:1
  • 应用指针,构造函数,来编写的一个树形的程序,体现了语句的运用
    应用指针,构造函数,来编写的一个树形的程序,体现了语句的运用-Application pointer, constructor, to write a tree-like procedure, reflects the use of statements
    2022-07-04 09:16:15下载
    积分:1
  • 是一些物理模型的C语言的源文件(5个)
    是一些物理模型的C语言的源文件(5个) -some physical model of the C language source document (5)
    2022-02-15 15:42:52下载
    积分:1
  • 001
    一个可运行的机器人5v5 dll可执的程序(Operation of a robot can 5v5dll enforcement procedures)
    2008-05-21 10:59:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载