深刻理解,只会背概念是没用的
茂大叔
我不是在写代码,我是在跟计算机下一盘很大的棋。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
framebuffer graphic example
#include<stdio.h> #include<stdlib.h> #include<time.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/fb.h> #include <linux/kd.h> #include <stdin原创 2021-09-30 15:59:00 · 196 阅读 · 0 评论 -
ANSI颜色宏
#define FG_BLACK 30 #define FG_RED 31 #define FG_GREEN 32 #define FG_YELLOW 33 #define FG_BLUE 34 #define FG_MAGENTA 35 #define FG_CYAN 36 #define FG_WHITE 37 #define BG_BLACK 40 #define BG_RED 41 #define BG_GREEN 42 #define BG_YELLOW 43 #define BG_BLUE 44原创 2021-09-29 09:36:36 · 241 阅读 · 0 评论 -
C语言示例,三个骰子
此代码为原创内容,仅供个人学习,禁止转发或用于商业通途。 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <time.h> #define _bet_type 4 typedef unsigned char dice; typedef unsigned int bet; void msleep(long); void p原创 2021-09-28 17:13:05 · 501 阅读 · 0 评论 -
在实践中理解virtual/override和new的意义
关于继承(virtual/override)和再定义(new)的作用,需要在实践中去深刻理解。原创 2019-06-07 16:15:02 · 297 阅读 · 0 评论 -
[考试专用]24点小游戏完整不超纲代码
最近在问答里面看见有人问这个问题,本着助人为乐的一贯原则,把代码发出来,祝大家顺利过关~!原创 2019-06-20 14:56:30 · 337 阅读 · 5 评论
分享