Can someone provide me links to some Windows API Thread tutorials.
Or links to some books for the same.
Pawan
Or links to some books for the same.
Pawan
#include <iostream> #include <process.h> using namespace std; void myFunction( void* number){ int myNumber = *(int*)number; cout << "This is prcosses number: " << myNumber << "\n"; _endthread(); } int main(int argc, char *argv[]) { int tempNum[10]; for( int i = 0; i <= 9; i++){ tempNum[i] = i; _beginthread( myFunction, 0, (void*)&tempNum[i]); } system("PAUSE"); return 0; }
Comment