Hi,

i want to konw how to create and use thread in c++[vc++ 6.0], what all are the header files needed,

can anyone please write a simple code for that......

can anyone please refer to some links where i can get good hold of c++ threads

Recommended Answers

include windows.h

win32 api function CreateThread()

More about that here

Jump to Post

I will surely try it.. Have never used it before

Jump to Post

All 6 Replies

I will surely try it.. Have never used it before

I will surely try it.. Have never used it before

thank you

With reference to threads, can anyone please tell me how i can download the POSIX threads library? Also, can i use it with VC++ ? i have VC++ 2008.

If you want portability among operating sytems then use boost classes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.