搜索资源列表
particle
- 粒子效果演示(附代码) 利用C++所提供的一些标准容器很容易实现粒子效果. 简单的说就是,将粒子数据写在一个类里面,有一个粒子源,不停地生成粒子,然后放入一个stl::list中(push_back()方法), 然后在一个循环中遍例粒子链表,并渲染粒子,粒子的参数并不断更新,如果粒子的ALPHA值小于0,即不可见了,即代表粒子已经死亡, 即从list中删去(erase()方法), 销毁死去的粒子很重要, 如果搞忘了这一步, 你的内存很快就会被吃掉干净了. 第一个版
min_malloc5
- 小型内存分配模块,用通用循环双向链表实现,改程序模拟系统malloc-Small memory allocation module, two-way linked list with the realization of general circulation, to process simulation system malloc
c_suanfa
- c常用算法 带头结点双链循环线性表 单链表 单循环链表 定长串 -c common algorithms to take the lead node linear form double-stranded cycle fixed-length string list list round robin ...
GPS---1.1
- GPS,89c52单片机采集显示程序keil,采用循环链表方式接收串口发送的GPS数据并进行解析。-GPS, 89c52 microcontroller collection display program the keil using circular linked list to receive the serial port to send GPS data to parse.
DuLinkList_file
- 读取目录中的文件名,放到循环双链表中,按1查看前一个, 按2查看后一个,按3退出。 -Read files in the directory name into the circulation doubly linked list, press 1 View 2 View 3 exit.
Josephus
- 题目:有n个人围成一圈,顺序排号,从第一个开始报数 (从1到3报数),凡报到3的人退出圈子,问最后最后留下 的是原来第几号的那位. 提示:用循环链表完成 -Title: n personal circle sequence Arranging reported from the first number (from 1 to 3 count off), who report 3 exit the circle, asked the final last left the orig
DuLinkList
- 一个基于面向对象的双向循环链表程序,提供链表数据的插入,添加,前序打印,后序打印,查找,计算长度等功能。-Based on object-oriented way circular list program that provides the list of data insertion, addition, pre-order printing, after printing sequence, find, calculate the length of the other functions
Raw-os--core-lian
- aw os 的基础链表是双向循环链表,这样的好处是插到尾部速度非常快,有些传统的os 采用了单个指针头的双向链表,虽然这样省了4个字节指针,但是算法复杂了,插入到尾部时间不确定,意义不大。-Aw OS based list is a circular doubly linked list, such benefits is inserted into the tail velocity is very fast, some traditional OS uses a single pointer
system
- linux下简单学生操作系统的实现,双向循环链表的使用,数据结构中对于结构体的练习。(Linux simple calendar implementation, the use of curses library color change function, you can make the color more brilliant.)
STM32简单的GUI程序
- 简单的图形界面,main初始化完成之后直接进入菜单界面循环。指针函数指向菜单切换链表的第一个函数,退出函数后,根据KEY_TYPE变量的值,指向链表中不同编号的函数。非常直观,适合无操作系统的简单的环境下编程。
Stm32启动文件配置
- stm32启动文件可以说有 5 个作用:1,初始化堆栈SP 2,初始化中断向量表 3,配置系统时钟 4,—main 进入main()函数 5,初始化PC指针, 上电后就从 RESET Handler 开始执行。 简单说明:(详其他可参考 cortex_m3 内核) 堆:主要用于动态内存的分配,比如用 malloc() 栈:变量,函数调用。 weak 是 若定义 意思是说 自己可以在 C 中定义 。 B . 跳转到无限循环。