摘要: 95400577-1ceb-4280-b94a-b939140f302c 阅读全文
posted @ 2024-03-09 09:10 归江渡鸟泅白浪 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <graphics.h> #include <conio.h> #include <time.h> #include <string.h> #define window_length 500 #define window_high 500 #d 阅读全文
posted @ 2020-10-24 22:57 归江渡鸟泅白浪 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 递归函数我总结有三步: 一、函数判断条件; 二、数学规律; 三、初值; 例如 斐波那契数列: 1 1 2 3 5 8 13 21 34 56 …… if (n == 1 || n==2){ return 1; } else { return Fibonacci(n-1) + Fibonacci(n- 阅读全文
posted @ 2020-09-19 22:38 归江渡鸟泅白浪 阅读(408) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> //♥♠♤❤♂♀★☆☯✡☆★○●◎◇◆□■△▲ //4 是墙 //1 是人 //2 是箱子 //6 目的地 //0 路 //8 完成点 #define length 8 //地图长度 #define high 8 //地图 阅读全文
posted @ 2020-09-17 21:35 归江渡鸟泅白浪 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-15 19:11 归江渡鸟泅白浪 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-15 19:08 归江渡鸟泅白浪 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 在计算机中数据以二进制存储 位bit 0/1 bety字节 8bit Word(字) (intel中16bit) Dword (双字) Qword (四字) Tbyte (十字节) 真值:-111 //以十进制数 -111为例 短除法求其他进制: 111 ÷ 2 = 55 …… 1; 55 ÷ 2 阅读全文
posted @ 2020-09-14 19:28 归江渡鸟泅白浪 阅读(578) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>void *Memory_Copy(void *to,const void *from,size_t length)//把b拷贝到a 拷贝sizeof(b)个 { char *from_p=(char *)from; char *to_p=(char *)to; i 阅读全文
posted @ 2020-09-14 17:32 归江渡鸟泅白浪 阅读(740) 评论(0) 推荐(0) 编辑
摘要: Punch_Clock_Machine.h #ifndef _Punch_Clock_Machine_H_ #define _Punch_Clock_Machine_H_ #include<stdio.h> #include<stdlib.h> #include<time.h> //生成随机数 #i 阅读全文
posted @ 2020-09-07 21:50 归江渡鸟泅白浪 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 在windows下 #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> using namespace std; #define length 6 int main() { char* password 阅读全文
posted @ 2020-08-30 18:23 归江渡鸟泅白浪 阅读(414) 评论(0) 推荐(0) 编辑