摘要: 一、传递一个参数。 #include #include using namespace std; void* thr_fn(void* arg){ int i = *(int*)arg; cout #include using namespace std; struct parameter{ char a; int i; float f;}; void* thr_fn(void* ar... 阅读全文
posted @ 2014-01-07 22:58 helloweworld 阅读(4212) 评论(0) 推荐(0) 编辑