搜索资源列表
在Unix下用C编写类Windows菜单
- 目前,在Unix系统下运行的程序的界面大都比较死板,而且,在进行功能扩充时也不是很方便。那么,能不能设计一个象 Windows那样能够按照用户要求随意调整界面,功能扩充方便的程序呢?答案是肯定的。在用户需要进行功能扩充时,也无须改动源程序,只须对参数文件进行操作就可将新增功能挂到菜单上。 -Currently, the Unix operating system interface procedures Most rigid, but when conducting functional exp
randomForest_4.5-27.tar.gz
- 是基于linux系统的C++程序,是一个学习算法随机森林,希望对大家有用,Is based on the linux system C++ Process is a learning algorithm Random Forest, in the hope that useful
wenjianguanli
- 1)程序主界面可选择进程调度算法进行演示,其中调度算法包括:时间片轮转法,短作业优先算法,动态优先级算法。 2)然后进入子界面可选择进程数量和输入进程运行所需要的时间。 3)每个进程的优先数由随机函数产生且优先数随等待时间而变化,执行并显示结果。 -1) The program can choose the main interface shows the process of scheduling algorithm, scheduling algorithm which incl
lab3
- The subject of this programming assignment is using Linux/UNIX system calls dealing with processes and pipes.-The subject of this programming assignment is using Linux/UNIX system calls dealing with processes and pipes. You are to write a C pro
pc
- 一个大小为3的缓冲区,初始为空 2个生产者 – 随机等待一段时间,往缓冲区添加数据, – 若缓冲区已满,等待消费者取走数据后再添加 – 重复6次 3个消费者 – 随机等待一段时间,从缓冲区读取数据 – 若缓冲区为空,等待生产者添加数据后再读取 – 重复4次 说明: 显示每次添加和读取数据的时间及缓冲区的状态 生产者和消费者用进程模拟。-A buffer of size 3, is initially
Producers_consumers
- • 一个大小为3的缓冲区,初始为空 • 2个生产者 – 随机等待一段时间,往缓冲区添加数据, – 若缓冲区已满,等待消费者取走数据后再添加 – 重复6次 • 3个消费者 – 随机等待一段时间,从缓冲区读取数据 – 若缓冲区为空,等待生产者添加数据后再读取 – 重复4次 说明: • 显示每次添加和读取数据的时间及缓冲区的状态 • 生产者和消费者用进程模拟。 -• a buffer o
demo2
- 利用curses技术,实现计时抽号的图形界面;时间显示采用线程处理,随机号和随机号的暂停则采用进程处理;同时,这个过程中用到互斥锁,防止资源的争夺而引起的数据脏问题.-Use curses technology, timing pumping number graphical interface time display using threaded processing, random numbers and random numbers are used suspend the proce
laplace
- Encode a value that is assumed to be the realisation of a Laplace-distributed random process.