摘要:
95400577-1ceb-4280-b94a-b939140f302c 阅读全文
摘要:
#include <stdio.h> #include <graphics.h> #include <conio.h> #include <time.h> #include <string.h> #define window_length 500 #define window_high 500 #d 阅读全文
摘要:
递归函数我总结有三步: 一、函数判断条件; 二、数学规律; 三、初值; 例如 斐波那契数列: 1 1 2 3 5 8 13 21 34 56 …… if (n == 1 || n==2){ return 1; } else { return Fibonacci(n-1) + Fibonacci(n- 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> //♥♠♤❤♂♀★☆☯✡☆★○●◎◇◆□■△▲ //4 是墙 //1 是人 //2 是箱子 //6 目的地 //0 路 //8 完成点 #define length 8 //地图长度 #define high 8 //地图 阅读全文
摘要:
在计算机中数据以二进制存储 位bit 0/1 bety字节 8bit Word(字) (intel中16bit) Dword (双字) Qword (四字) Tbyte (十字节) 真值:-111 //以十进制数 -111为例 短除法求其他进制: 111 ÷ 2 = 55 …… 1; 55 ÷ 2 阅读全文
摘要:
#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 阅读全文
摘要:
Punch_Clock_Machine.h #ifndef _Punch_Clock_Machine_H_ #define _Punch_Clock_Machine_H_ #include<stdio.h> #include<stdlib.h> #include<time.h> //生成随机数 #i 阅读全文
摘要:
在windows下 #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> using namespace std; #define length 6 int main() { char* password 阅读全文