int main(void)
{
#ifdef VC /*如果 VC 被定义, 执行下面的代码*/
printf("This program was compiled by VC 6.0\n");
#else /*否则(即 VC 未被定义), 执行下面的代码*/
/*使用 Turbo C 作为编译器时执行*/
textbackground(BLUE); /*背景颜色改为蓝色*/
clrscr();
printf("This program was not compiled by VC 6.0\n");
#endif /*#ifdef VC*/