'Graphics in borland c++to add

I am using borland c++ to run my c++ programs.How to add graphics library in it just as we have graphics.h in TURBO c++ ?? How to run my program with graphics command it it??



Solution 1:[1]

You can access the Windows GDI from Turbo C++. However, a better route to take would be to switch to using a modern implementation such as Visual Studio.

If it is just a personal project then Express Edition is freely available or you can purchase a Professional license from Microsoft. Alternatively there are other modern C++ implementations available such as g++.

Edit: Visual Studio Express Edition can be used commercially also.

Solution 2:[2]

Borland CBuilder has VCL-Visual Component Library..you may use it by including it before #pragma hdrstop as vcl.h

Borland Help has lots of information about the components..

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Semih Ozmen