Your compiler does not support threads. You will have to use a modern compiler such as Code::Blocks or VC++ 2008 Express, both are free for the downloading.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
drewangel : i am using turbo c++ compiler and including the header file pthread.h , but i am getting error and it is not getting included
AncientDragon : Your compiler does not support threads. You will have to use a modern compiler '
drewangel : thanks for your reply. but i want to know the synatx for pthreads. are we supposed to use pointer to functions in that?
my goodness. Reading comprehension, much?
Turbo C does not support multithreading. you will not get a POSIX thread library to work. What part of this are you not able to understand?
.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
Dev-C++ probably because that is a 32-bit compiler, Turbo C++ no because its only a 16-bit compiler and therefore can not access any of MS-Windows operating system.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343