[問題] 顏色程式碼
#include<stdio.h>
#include<stdlib.h>
#include<graph.h>
int main()
{
_settextcolor(0);
_setbkcolor(2);
_settextposition(10,10);
_outtext("QQQQ");
_settextcolor(4+16);
_setbkcolor(7);
_settextposition(12,10);
_outtext("KKKK");
system("pause");
return 0;
}
這是我在一本老舊書上看到的程式碼
結果打進去deV c 不能過
請問是哪裡出了問題??
是因為編譯的程式 不適用在這個程式碼上嗎??
謝謝解惑
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.172.93.89
→
04/24 20:34, , 1F
04/24 20:34, 1F
→
04/24 20:35, , 2F
04/24 20:35, 2F
推
04/24 20:42, , 3F
04/24 20:42, 3F
→
04/24 20:45, , 4F
04/24 20:45, 4F
→
04/24 22:22, , 5F
04/24 22:22, 5F