搜索资源列表
DesignPatternCPP
- C++设计模式的实现:命令模式、代理模式、单件模式等;-the implementation of C++ Design Pattern:Command ,fork,Proxy Singleton
2
- 实验二、进程控制(15分) 设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。 在Windows下实现: 使用CreateProcess()来创建进程 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 调用GetSystemTime()来获取时间 在Linux下实现: 使用fork()/execv()来创建进程
ctrip1
- 对一个给定的二叉树,求树的深度,并判断它是否是平衡二叉树-The depth of a tree is given to a given two fork tree, and it is judged whether it is balanced by the two fork tree