+ 4

What we use for Changingcolour of the output in c++?

Like my diamond program but i want to change the colour of diamond...

20th Jan 2019, 4:54 PM
🇦‌🇾‌🇺‌🇸‌🇭‌
🇦‌🇾‌🇺‌🇸‌🇭‌ - avatar
6 Answers
+ 1
Instead of this can I use textcolor(color code i. e 4) and setcolor(RED) ....but it only works in desktop not in sololearn...... how is this possible....
22nd Jan 2019, 6:45 PM
🇦‌🇾‌🇺‌🇸‌🇭‌
🇦‌🇾‌🇺‌🇸‌🇭‌ - avatar
+ 3
The console code is text based so you won't be able to write graphics code there. But you can use Qt to write graphic code in c++ as shown above.
22nd Jan 2019, 7:34 AM
Germain F
Germain F - avatar
+ 2
Thank you Rewa Mathur for ur suggestions.... 👼👼👼
22nd Jan 2019, 6:46 PM
🇦‌🇾‌🇺‌🇸‌🇭‌
🇦‌🇾‌🇺‌🇸‌🇭‌ - avatar