CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    2

    how to call bmp on output of c screen

    Hello all,
    I m doing some project on image processing. Can anybody tell me that how to bring the bitmap image on the output screen of turbo C. Is there any function for doing such stuff.
    please reply

  2. #2
    Join Date
    Feb 2005
    Location
    Normandy in France
    Posts
    4,590

    Re: how to call bmp on output of c screen

    Quote Originally Posted by prograComp
    Hello all,
    I m doing some project on image processing. Can anybody tell me that how to bring the bitmap image on the output screen of turbo C. Is there any function for doing such stuff.
    please reply
    Turbo C is a very old 16 bits DOS compiler.
    If possible, you should use a newer 32 bits compiler (Borland C++ 5.5 for instance).

    Then, you'll be able to use the Win32 API.
    If you really have to use Turbo C++, in that case, you can use BGI getimage/putimage and load the bitmap file with a special routine whose code may be available on the net. Color palettes conversions would have to be handled manually.
    "inherit to be reused by code that uses the base class, not to reuse base class code", Sutter and Alexandrescu, C++ Coding Standards.
    Club of lovers of the C++ typecasts cute syntax: Only recorded member.

    Out of memory happens! Handle it properly!
    Say no to g_new()!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured