English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When we develop a 'C' program i can't add another picture(jpg,gif) into a program help me how to include such files into my program

2006-08-13 00:59:42 · 3 answers · asked by aswath 1 in Computers & Internet Programming & Design

3 answers

all the files saved on ur desktop screen get automatically saved in ur C drive.

2006-08-13 01:19:19 · answer #1 · answered by pri 3 · 0 0

You need to read graphics file, to decode it according to its format, to convert to, say, DIB (if you are using Windows) and to display this DIB.
Not a trivial task if you want to do it yourself.
Much easier will be using ready free library as, e.g., CxImage:
http://www.codeproject.com/bitmap/cximage.asp
(codeproject requires free registration)

2006-08-13 09:54:04 · answer #2 · answered by alakit013 5 · 0 0

use file.h header and use the associated protype function to handle your file.

file handling in c , refer yaswant kanitkar

2006-08-13 08:03:50 · answer #3 · answered by ♥ forever 2 · 0 0

fedest.com, questions and answers