Im trying to display a BMP picture file, and the one in the FAQ don't seem to work, unless, er i guess its C++, and not C, if anyone can help, thanks.
Im trying to display a BMP picture file, and the one in the FAQ don't seem to work, unless, er i guess its C++, and not C, if anyone can help, thanks.
"What this country needs is more free speech worth listening to." - -Hansell B. Duckett
>>>Im trying to display a BMP picture file
In a Windows Console, in Windows GUI? What compiler?
Displaying graphics is non standard, so best think about what tools you are using, check their documentation, and then post in the relevant forum.
[edit]
>>>Probably A Stupid Question.
No, not a stupid question, maybe poorly thought out, but that's all. But the thread title was stupid.... Make it more relevant next time
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
im using lcc for my compiler, i looked into the help files, and couldn't find anything specific about displaying a bmp. or graphic.
"What this country needs is more free speech worth listening to." - -Hansell B. Duckett
Using C or C++ to open a bitmap file is not really perfect because
it involve with many thing, type of compiler, your graphic video
card and your CPU size (16bit or 32 bit processor) and many
more... It's very boring.
I usualy use VisualBasic , VC++ or Java to open the bitmap files.
.gif, .jpg....
KingIII
i was thinking about learning java anyways.
"What this country needs is more free speech worth listening to." - -Hansell B. Duckett
Use a system that provides you with an interface for displaying output on your hardware. You can impliment simple text bitmaps to standard output with C without building your own system ontop of the grahic cards hardware architecture.