|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Problem
I used the following code for loading a bmp(paint) file and displaying
it. but it didn't work. why. please look into it.
Pradheep.
#include <math.h>
#include <math.h>
#include <conio.h>
#include <stdiostr.h>
#include <bmp.h>
#include <dos.h>
#include <fstream.h>
#include <graph1.h>//for mode 13
void main ()
{
Picture *pic;
LoadBMP("archu1.bmp",pic);
entermode();
WaitRetrace();
DrawPicture(0,0,*pic);
getch();
}
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|