+ 1

How to use conio header file?

I want to color my text. I do so in turbo c++ by including 'conio.h' header file but i can't this here.

22nd Mar 2017, 7:53 AM
Naresh Khatri
Naresh Khatri - avatar
2 Réponses
+ 11
Code Playground does not support coloured console text. But wait... How would you set text colour using conio.h? I know a few methods but none would deal with conio.h.
22nd Mar 2017, 10:58 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
In turbo c++ we can add color to text by writing textcolor( BLUE, BLACK, CYAN, GREEN, YELLOW, VIOLET or ORANGE"); then put the text in cprintf("text"); You can only use 7 colors
22nd Mar 2017, 6:10 PM
Naresh Khatri
Naresh Khatri - avatar