基本信息
中文名
功能
用法
void far setactivepage(int
程序例
函数名
setactivepage
功能
设置图形输出活动页
用法
void far setactivepage(int pagenum);
程序例
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
int main(void)
{
/* select a driver and mode that supports */
/* multiple pages. */
int gdriver = EGA, gmode = EGAHI, errorcode;
int x, y, ht;
/* initialize graphics and local variables */
initgraph(&gdriver, &gmode, "");