2
Contributors
4
Replies
6
Views
10 Years
Discussion Span
Last Post by himanjim
0

That program is meant to be compiled with DJGPP. Use the version meant to compile with Borland compilers: http://www.brackeen.com/home/vga/source/bc31/bitmap.c.html

Better yet, stop using such an old compiler and get Dev-C++ and install the SDL (which has built-in support for .BMP files, and with SDL_Image supports .pngs, .jpegs, .tiffs, and many others).

Separate codes aregiven for DJGPP
http://www.brackeen.com/home/vga/source/djgpp20/bitmap.c.html

and Turbo C

http://www.brackeen.com/home/vga/source/bc31/bitmap.c.html

0

I realize that, but I thought you didn't, because you said

I want to display a bitmap image in my C++ program running on Turbo C++ 3.0 (16 bit compiler)...

and linked to the DJGPP version.

Does the Borland version work?

0

I realize that, but I thought you didn't, because you said

and linked to the DJGPP version.

Does the Borland version work?

Oh sorry for that! Yeah the version worked but showed no output<<

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.