项目一:Windows*Threads多线程编程模块一:基础模块4编译执行,输出结果:简答与思考:1写出修改后的HelloThreads的代码。//HelloThreads.cpp:定¡§义°?控?制?台¬¡§应®|用®?程¨¬序¨°的Ì?入¨?口¨²点Ì?。¡ê#include"stdafx.h"#includeconstintnumThreads=4;DWORDWINAPIhelloFunc(LPVOIDarg){intmyNum=*((int*)arg);printf("HelloThread!Thread%d\n",myNum);return0;}intmain(intargc,_TCHAR*argv[]){HANDLEhThread[numThreads];inttNum[numThreads];for(inti=0;i#includestaticlongnum_steps=1000000000;constintgNumThreads=2;doublestep=0.0,pi=0.0,sum=0.0;CRITICAL_SECTIONgCS;DWORDWINAPIthreadFunction(LPVOIDpArg){intmyNum=*((int*)pArg);2doublesum1=0.0,x;for(inti=myNum;i