intget_thread_amount() {inti =0;charBuff[9]; PROCESSENTRY32 pe32; pe32.dwSize=sizeof(pe32);intprocessid =GetCurrentProcessId(); HANDLE hProcessSnap= ::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);if(hProcessSnap ==INVALID_HANDLE_VALUE) { printf("CreateToolhelp32Snapshot() failed. error...