Hi friends. Please tell me how to display a image file on the screen in C? If u r kind to me, send the code snippet.
anveshi
0
Newbie Poster
Recommended Answers
Jump to Post#include <alloc.h> #include <conio.h> #include <graphics.h> #include <stdio.h> #include <stdlib.h> struct BMP { char Type[2]; //File type. Set to "BM". unsigned long Size; //Size in BYTES of the file. unsigned long Reserved; //Reserved. Set to zero. unsigned long OffSet; //Offset to the data. unsigned long headsize; //Size …
Jump to PostGo to:
http://www.daniweb.com/code/c.html
and search for:
image
All 5 Replies
Majestics
84
Posting Pro
sneekula
969
Nearly a Posting Maven
Yamini_6
0
Newbie Poster
Yamini_6
0
Newbie Poster
rproffitt
2,580
"Nothing to see here."
Moderator
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.