tags:

views:

39

answers:

2

How to Implement Thread in Turbo C++?

A: 

On Windows you call the CreateThread function as described here and here.

Brian Rasmussen
A: 

Depends on which version of Turbo C++. DOS has no threads, and versions up Turbo C++ 3.0 were strictly for DOS. Turbo C++ versions 3.0 and up have support for Windows development, but only the Win16 API, so the program won't work on 64-bit versions of Windows.

If you really want to create a "thread" in DOS, you can use a TSR routine in DOS, though those work pretty bad under Windows.

(Higher versions of Borland C++ support modern versions of Windows.)

Amigable Clark Kant