在C++ 的环境下为什么不能运行阿
#include <conio.h>#include <stdio.h>
int main(void)
{
int i;
clrscr();
for (i=0; i<9; i++)
{
textattr(i + ((i+1) << 4));
cprintf("This is a test\r\n");
}
return 0;
}
像这样的程序很多,都不能在C++6.0的环境下运行,是不是缺少什么东西啊。
2007-06-19 23:22