C语言的界面是不是只能做成黑屏的呢?

来源:百度知道 编辑:UC知道 时间:2024/06/15 02:46:13
如果它还可以用别的程序做出不一样的界面,请介绍一下相关信息吧!

你说的是TurboC或控制台程序吧
并不是只能黑屏阿
EDIT,TurboC那种文本下的窗口都可以用c做

#include <stdio.h>
#include <conio.h>
main()
{
clrscr();
textcolor(14);
textbackground(9);
gotoxy(1, 10);
cprintf("yellow text with blue background.\n");
getch();
}

有设置相关颜色的函数
具体本人觉的没必要知道 无伤大雅