please if yuo have graphics.h for microsoft visual.net 2003 c++
can you send it to me
thanks

Dani AI

Generated

In response to and building on comments by and , here are concise, practical options instead of expecting a direct drop-in of the old Borland-era graphics.h for Visual C++.

If the aim is to run existing BGI-based examples with minimal changes, use the WinBGIm port (a Windows implementation of the BGI API). The SourceForge package provides a compatible graphics.h and library; it is easiest to use with MinGW or Code::Blocks. Typical MinGW link flags are -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32. Using MSVC 2003 can be more work because prebuilt binaries usually target different runtimes, so switching the toolchain or building the port yourself is often faster.

For new work, pick a maintained library instead of relying on legacy BGI. SDL2 and SFML are solid, well-documented cross-platform choices (SDL is C-focused, SFML is C++-friendly). For Windows-only simple drawing, GDI/GDI+ is built into the platform and documented by Microsoft. For hardware-accelerated graphics, use OpenGL or DirectX. SDL SFML GDI docs

A final note: do not request redistribution of proprietary Borland files. Use official downloads or open-source ports and prefer updating the toolchain when possible to avoid runtime and compatibility headaches.

Recommended Answers

All 2 Replies

"graphics.h" file if I am not wrong is associated with Borland's Turbo C++ compiler,
I do not think there is a graphics.h file for VC++, just like we dont have one for GCC

umm, why don't you use the SDL?

Be a part of the DaniWeb community

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