登录
首页 » 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 116
下载积分: 2 下载次数: 1

代码说明:

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

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

发表评论

0 个回复

  • HistDemoA
    说明:  直方图均衡化的一个程序,只能对BMP的黑白图像进行直方图均衡化(A histogram equalization process, only black and white BMP image histogram equalization)
    2008-09-23 09:48:10下载
    积分:1
  • 学生管理系统
    学生成绩管理系统,拥有登录,在线查询,成绩 批改等功能(Student achievement management system)
    2021-04-19 21:08:50下载
    积分:1
  • 粒子群优化算法求解函数最大值和最小值问题
    说明:  用粒子群优化算法求解函数最大值和最小值问题,稍微更改一下即可求任意函数最值(Use particle swarm optimization to solve the problem of maximum and minimum values of a function.)
    2020-01-07 17:10:33下载
    积分:1
  • C# finally
    2023-05-24 15:25:03下载
    积分:1
  • mirror
    对图像进行镜像处理,是最基本的图像处理操作(Mirror image is the most basic image processing operations )
    2012-05-13 20:04:04下载
    积分:1
  • Stack
    利用C语言,链表,实现的一个入栈出栈的小例子(A small example of the C language, which pushed and poped the stack by linked lists.)
    2013-04-21 11:18:26下载
    积分:1
  • DCC_V_33-master
    基于FPGA的自适应滤波实现,,,,,,,,,,,(Implementation of adaptive filtering based on FPGA)
    2020-06-17 21:00:07下载
    积分:1
  • c#解一元二期方程程序
    using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{    class Program    {        static void Main(string[] args)        {            double x1 = 0;            double x2 = 0;            Console.WriteLine("求 ax^2+bx+c=0 的解");            Console.Write("请输入a的值:");            double a = Convert.ToInt32(Console.ReadLine());            Console.Write("请输入b的值:");  &nb
    2022-03-06 01:10:58下载
    积分:1
  • c# 通过反射创建实例并设置属性的例子源码
    通过Reflection创建实例
    2014-11-19下载
    积分:1
  • circle_surface_mpi
    calculate the circle surface using parallel mpi
    2012-12-31 00:41:14下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载