#include <windows.h>#include <iostream>using namespace std;DWORD WINAPI MyThreadProc1(LPVOID lpParameter); //thread dataDWORD WINAPI MyThreadProc2(LPVOID lpParameter);DWORD WINAPI MyThreadProc3(LPVOID); //thread dataDWORD WINAPI MyThreadProc4(LPVOID);int tickets=100;HANDLE hMutex;int mai Read More
posted @ 2012-03-23 18:30 庚武 Views(225) Comments(0) Diggs(0) Edit
#include <iostream>using namespace std;class A{public: int m_a; A(int a):m_a(a){ cout<<"A 构造"<<endl; } void introA(){ cout<<"m_a:"<<m_a<<endl; }};class B1:public A{public: int m_b1; B1(int a,int b1):A(a),m_b1(b1){ cout<<"B1 构造"& Read More
posted @ 2012-03-23 01:01 庚武 Views(325) Comments(0) Diggs(0) Edit