Question

I cannot find windows.h in my include folder of Turbo C and hence cannot work with the Win32 api's

Can someone please suggest a workaround?

thanks

Was it helpful?

Solution

You could download Borland C++ 5.5. If memory serves, it can handle Windows programming "out of the box" (Warning: but it doesn't include an IDE of any kind, only command-line tools).

Alternatively, you could look into any of several alternatives such as Dev-C++, Visual Studio Express, Cygwin, or Digital Mars. Edit: Or Code::Blocks, Ultimate++/TheIDE, NetBeans, or Eclipse CDT.

OTHER TIPS

Turbo C is a legacy product. I would suggest moving on.

However, the Windows libraries and header files are shipped with the Windows SDK, which you can find on MSDN.

If you want to work with Win32 APIs, you will probably get the best mileage using Visual Studio (which will have all of the headers and libraries you need). There is even a free edition available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top