c
文章平均质量分 67
我是祁名烦
http://my.csdn.net/#
展开
-
静态函数static的理解(代码非原创,博客内容纯属本人感悟)
# include stdio. h> int f( int a) { auto b = 0; static c = 3; b = b + 1; c = c+ 1; return ( a+ b+ c) ; } main( ) { int a = 2, i; for ( i =原创 2017-11-28 21:43:56 · 193 阅读 · 0 评论 -
算法分析——Hanoi塔问题
n阶hanoi塔问题原创 2017-11-27 22:58:09 · 10442 阅读 · 0 评论 -
C语言:输入多个学生的姓名和成绩,按照成绩由小到大排序
#include<stdio.h>#include<string.h>#define N 10struct student //定义结构体student{ char name[20]; int score;};struct student stu[N]; ...原创 2018-06-06 14:16:03 · 39186 阅读 · 2 评论 -
汇编DIV/IDIV
1.定义div为无符号除法 ; idiv为有符号除法2.分为(1) 除数: 有 8 位和 16 位两种, 在一个寄存器或内存单元中.(2) 被除数: 默认放在 ax 或 dx 和 ax 中, 如果除数为 8 位, 被除数则为 16 位, 默认在 ax 中存放; 如果除数为 16 位, 被除数则为 32 位, 在 dx 和 ax 中存放, dx 存放高 16 位, ax 存放...原创 2018-12-05 18:16:12 · 16944 阅读 · 0 评论