-
用C语言实现malloc,free函数,方法采用严蔚敏数据结构书上的方法...
用C语言实现malloc,free函数,方法采用严蔚敏数据结构书上的方法-C implementation using malloc, free
- 2022-02-06 14:06:28下载
- 积分:1
-
经典的游戏俄罗斯方块,VB编写的全部源代码
经典的游戏俄罗斯方块,VB编写的全部源代码-classic game Tetris, VB prepared by the full source code
- 2023-07-26 04:45:03下载
- 积分:1
-
自已写的小游戏,初学windows编程和MFC时做的,很简单的游戏,适合刚学过一阵windows mfc的朋友...
自已写的小游戏,初学windows编程和MFC时做的,很简单的游戏,适合刚学过一阵windows mfc的朋友-windows game
- 2022-03-17 22:00:41下载
- 积分: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
-
plz help me iam trying to make a code
plz help me iam trying to make a code
- 2022-01-25 19:46:02下载
- 积分:1
-
十六进制转换为十进制,是想应用程序可视化界面实现不同进制之间的转换。...
十六进制转换为十进制,是想应用程序可视化界面实现不同进制之间的转换。-sixteen to ten
- 2022-04-15 00:09:48下载
- 积分:1
-
DSP2407 SPI通讯例程,调试通过
DSP2407 SPI通讯例程,调试通过-DSP2407 SPI communication routines, debugging through
- 2022-01-25 23:32:41下载
- 积分:1
-
qt-embedded开发的实例教程,通过10个实例让你很快入门。-qt-embedded examples of the development of curricula, the adoption of 10 examples of your entry soon.
- 2022-03-07 08:10:28下载
- 积分:1
-
ssd5 Exercise2 的答案 This assessment creates an initial version of the auction pro...
ssd5 Exercise2 的答案 This assessment creates an initial version of the auction project that allows user to register, login, and logout. Registered users can post items (advertisements) for auction.-This assessment creates an initial version of the auction project that allows user to register, login, and logout. Registered users can post items (advertisements) for auction.
- 2022-08-07 18:01:47下载
- 积分:1
-
双向链表8_2.rar 大学生c加加课程设计
双向链表8_2.rar 大学生c加加课程设计-Two-way linked list 8_2.rar Students c Gaga Course Design
- 2023-05-31 02:25:03下载
- 积分:1