ChinaUnix.net
相关文章推荐:

windows编程从编辑框获取内容存入结构体

我有一个进程A,在进程A里启动程序B,程序B会启动程序进C,我在进程A里如何监听C何时结束呢?windows编程如何解决这个问题?

by zebiak - C/C++ - 2013-03-15 14:06:06 阅读(4702) 回复(11)

相关讨论

客户端: struct ST{ int a; int b; }; ST st; st.a = 0xe1; st.b = 90; char *tmp = (char*)&st; tcp的write函数将tmp发出 服务器端: tcp的read函数到pBuf struct ST{ int a; int b; }; ST *tmpw = (ST*)pBuf; printf("收到:%x %x 解析:%d %d \n",tmpw->b,tmpw->a,tmpw->b,tmpw->a); 解析数据有错误是什么情况啊,是不是大端小端的问题 ,具怎么解决啊~!!

by chenmo0821 - 嵌入式开发 - 2013-09-26 09:18:34 阅读(713) 回复(0)

本帖最后由 computerzanz 于 2011-12-17 11:07 编辑 可能不该发在这个版里,版主见谅 windows server端有个结构[code]#pragma pack(push, 1) struct data { int a; char b[100]; bool c; ...... } #pragma pack(pop)[/code]linux client相同的结构[code]typedef struct data { int a; char b[100]; bool c; ...... } __attribute__((packed)) mytype_t;[/code]windows server 调用send...

cross-platformrecvsizesocketstruct

by computerzanz - Linux环境编程 - 2011-12-19 14:34:08 阅读(2876) 回复(4)
by bluemy - C/C++ - 2005-10-17 17:04:38 阅读(767) 回复(0)

微软提供的Desktop Functions API 看得不是很懂 上次百度了个创建桌面的代码 复制粘贴上去后 能创建桌面了 但是我想学得深入一点有啥好方法没有?

by tan1301230147 - C/C++ - 2013-11-22 14:46:56 阅读(2111) 回复(2)

想好好学习c++windows编程 推荐本好的书啊!!

by parkerchou - C/C++ - 2007-06-01 09:50:17 阅读(1471) 回复(6)

[code]#!/usr/bin/python # -*- coding: utf-8 -*- import psutil from pprint import pprint def main(): pl=psutil.get_pid_list() r=[] for pid in pl: try: p=psutil.Process(pid) r.append((pid,p.name,int(p.get_cpu_percent()))) except: pass pprint(r) if __name__ == '__main__': main()[/code]获取到的结果一个天一个地

by mitmax - Python - 2013-07-04 15:49:47 阅读(1292) 回复(0)

那位兄弟能给我推荐个模块,如果能给个例子就更好了,先谢谢!

by junchen2 - Perl - 2008-06-12 13:20:07 阅读(2816) 回复(3)

@exec("ipconfig /all",$array); print_r($array);exit; for($Tmpa;$Tmpa 执行结果 Array ( [0] => [1] => windows IP Configuration [2] => [3] => Host Name . . . . . . . . . . . . : tianwu [4] => Primary Dns Suffix . . . . . . . : [5] => Node Type . . . . . . . . . . . . : Unknown [6] => IP Routing Enabled. . . . . . . . : No [7] => WINS Proxy Enabled. . . . . . . . : No [8] => DNS Suffix Search List. ...

by tianwu - php文档中心 - 2006-12-22 14:29:48 阅读(699) 回复(0)