home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex056.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
490b
|
12 lines
// Example: 056 from Library Reference
#include "..\3D-Ware\dddware.h"
#include <stdio.h>
long address;
short main(void)
{
address = dddGetScreenBufferAddress(); // Request the screen buffer's segment address.
printf("Screen buffer segment address is 0x%lX\n\n",address/65535&0xFFFF);
// Print the segment address for the screen buffer.
return 0; // Bye.
}