First of all welcome to go4expert. I know you registered some time back but this is your first post and so I as an administrator welcome you to the forums.

Now about your query you need to open a jpg/bmp file in turbo C

This can be done if you know what format the jpg and bmp file is and if you open them in binary mode in C and read the headers and other part of the file you can easily display them.

To know the file formats of both jpg and bmp you can look at the following links
http://www.fortunecity.com/skyscrape.../bmpffrmt.html BMP
http://www.w3.org/Graphics/JPEG/jfif3.pdf JPEG

I hope this will clear out the your concept and will help you to code the program yourself.

Shabbir Bhimani