-
在C++环境下的冗余码编程,可进行8个字符的转换.
在C++环境下的冗余码编程,可进行8个字符的转换.-C environment in the redundancy program, eight characters for the conversion.
- 2022-03-02 02:19:33下载
- 积分:1
-
Find prime numbers prepared by screening the function: void sieve (bool isPrime...
编写筛选查找素数函数:
void sieve(bool isPrime[], int n)
其中isPrime[ ]为一个布尔型数组,n为数组大小。由于2是第一个素数,
所以设置isPrime[0]和isPrime[1]的值为false,并设置其余的元素初值为true。
然后对从4到n-1的每一个i,判断i是否能够被2整除,如果i能够被2整除,则设置isPrime[i]为false。
对从2到n/2的每一个可能的数值重复以上处理,当操作结束时,所有值为true的isPrime[i]所对应的i就是素数,它们将是从筛子中掉下来的。-Find prime numbers prepared by screening the function: void sieve (bool isPrime [], int n) which isPrime [] as a Boolean array, n is the size of the array. Because 2 is the first prime number, so set the isPrime [0], and isPrime [1] a value of false, and set the initial value of the remaining elements of true. And then from 4 to n-1 for each i, to determine whether i can be divisible by 2, if i can be divisible by 2, then set the isPrime [i] is false. From 2 to n/2 possible values for each one to repeat the above processing, when the operation ended, all the true value of the isPrime [i] corresponding to i is a prime number, they will be falling from the sieve in the past.
- 2023-03-02 04:45:03下载
- 积分:1
-
一个简单的动作类游戏 和是男人就下一百层 类似 图片丢失
一个简单的动作类游戏 和是男人就下一百层 类似 图片丢失 -a simple movement like games and the men on the next 100-loss similar Photo
- 2023-06-16 19:15:03下载
- 积分:1
-
c语言标准文档,深入学习c语言的必经之路
c语言标准文档,深入学习c语言的必经之路-c language standard documentation, in-depth the only way to learn c language
- 2023-09-05 10:30:05下载
- 积分:1
-
一个有趣的纸牌游戏——抽鬼牌
首先,在扑克牌中加入一只王,即鬼牌,然后将牌平均分给所有玩家,玩家收到牌后,只要有两张同一数字的牌,就可以打出,没有的话就要等待下一次抽牌的机会,最后保留鬼牌的玩家即为输家,要接受一定的惩罚,娱乐性十足。
- 2022-03-03 16:22:22下载
- 积分:1
-
一个模块,VB语言的,比较好用,我试过的
一个模块,VB语言的,比较好用,我试过的-A module, VB language, comparative ease of use, I tried the
- 2022-06-19 19:46:56下载
- 积分:1
-
Ni-LabVIEW的源程序,具体请看内容
很少见的哦
Ni-LabVIEW的源程序,具体请看内容
很少见的哦-Ni-LabVIEW source, details, please read the content rarely see oh! !
- 2022-04-07 10:29:23下载
- 积分:1
-
将 ASM 源程序变为 TURBO
将 ASM 源程序变为 TURBO-C的内联模块,将汇编语言和c语言联合使用-will ASM source into TURBO-C in conjunction with the modules will be compiled language and the joint use of language c
- 2022-01-27 20:47:22下载
- 积分:1
-
a simple stand
一个单机版的简单泡泡龙源码. 用VC开发,绝对经典.-a simple stand-alone version of the Instant source. VC development, absolute classic.
- 2022-02-10 16:16:28下载
- 积分:1
-
成程序能够实现系统进程的自动启动,和关闭,还能实现任务管理...
成程序能够实现系统进程的自动启动,和关闭,还能实现任务管理-Into the procedure to realize the system automatically starts the process, and closure, but also realize Task Manager
- 2023-06-08 23:10:02下载
- 积分:1