03 2014 档案

摘要:has incomplete type and cannot be defined在头文件中添加该类型所在的文件eg:aggregate 'std::stringstream oss' has incomplete type and cannot be ;在文件中添加 include 来解决。 阅读全文
posted @ 2014-03-10 17:22 yunsicai 阅读(6496) 评论(0) 推荐(0) 编辑
摘要:#-*- encoding:UTF-8 -*-import osimport sysimport string import psutilimport redef get_pid(name): process_list = psutil.get_process_list() regex = "pid=(\d+),\sname=\'" + name + "\'" print regex pid = 0 for line in process_list: process_info = str(line) ini_regex = re.comp 阅读全文
posted @ 2014-03-04 17:35 yunsicai 阅读(12611) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示