- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 c程序执行命令 execvp
/****************************************************************** ** 功能: linux c 执行命令程序** *******************************************************************/#include#include #define BUF_S
2014-03-13 18:07:02
3203
原创 autoit 清理进程,实用
添加进程名即可,SogouComMgr.exe这个进程一大堆,手动清理累死#include ;清理进程while ProcessExists("SogouComMgr.exe") ; Check if the Notepad process is running. ProcessClose("SogouComMgr.exe")WEndMsgBox($MB_SYSTEMMODAL,
2014-03-06 17:00:38
5576
原创 继承和组合的分析
// test.cpp : 定义控制台应用程序的入口点。/*总结:继承就是隐含的将父类在派生类中再次定义,很像组合。添加保护、私有权限**无外乎为父类定义的“成员”添加了一个保护壳,相当于该父类成了私有或保护“成员”,**但组合无法修改类内部结构,但继承可以重写父类的方法,严格上说继承只是接口的复用*/#include "stdafx.h"#include using namespa
2014-03-04 15:55:19
1226
原创 共享内存及信号量控制实例
共享内存写入程序,通过信号量控制公共区域。为公共区域枷锁。#include #include #include #include #include #include #include #include typedef struct{ char name[8]; int age;} people;const int num = 3;//创建共享内存int cre
2014-03-04 12:55:18
3043
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人