[求助]求助调试程序
#define SCREEN(* SCREENPOINTER)
#define ROW 25
#define COLUMN 80
#include<string.h>
#include<stdio.h>
#include<conio.h>
typedef struct TEXT
{
unsigned char CHAR;
unsigned char ATTRIBUTE;
}TEST;
typedef TEST SCREENARRAY[ROW][COLUMN];
SCREENARRAY far *SCREENPOINTER=(SCREENARRAY far*)0xb80000001;
char HELLO[]="hello china !";
int main(void)
{
int CIRCLE;
clrscr();
for(CIRCLE=0;CIRCLE<strlen(HELLO);CIRCLE++)
{
SCREEN[10][CIRCLE].CHAR=HELLO[CIRCLE];
}
getch();
for(CIRCLE=0;CIRCLE<strlen(HELLO);CIRCLE++)
{
SCREEN[10][CIRCLE].ATTRIBUTE=11;
}
getch();
return 0;
}
那位仁兄帮助一下,还是我的编译器的问题.
[此贴子已经被作者于2005-12-4 10:10:12编辑过]