#include
#include
using namespace std;
DWORD WINAPI Fun1(LPVOID lpParamter)
{
while(1) { cout<<"哈哈哈"<
DWORD WINAPI Fun2(LPVOID lpParamter)
{
while(1) { cout<<"呼呼呼"<
DWORD WINAPI Fun3(LPVOID lpParamter)
{
while(1) { cout<<"嘻嘻嘻"<
int main()
{
HANDLE hThread1 = CreateThread(NULL, 0, Fun1, NULL, 0, NULL);
CloseHandle(hThread1);
HANDLE hThread2 = CreateThread(NULL, 0, Fun2, NULL, 0, NULL);
CloseHandle(hThread2);
HANDLE hThread3 = CreateThread(NULL, 0, Fun3, NULL, 0, NULL);
CloseHandle(hThread3);
return 0;
}