+ 1
Can we colour the text using code in c++.
If yes please post a code in reply
3 Respuestas
+ 8
You can use graphics librabry also for text
Use. Outtextxy (value1, value2, " text here");
#include <conio.h>
void main()
{
clrscr();
textcolor(RED);
cprintf ("Welcome to Tutorial of Graphics in C/C++\n");
textcolor(LIGHTBLUE); cprintf("Hello\n");
getch();
}
.......... Thankyou.........
+ 3
Not in a console.
Learn GUI.
+ 3
If your using SFML then yep.
text.setFillColor(sf::Color(0,0,255))