lundi 29 juin 2015

change input text color in c langage


I want to change the color of the input text with c i was using :

textcolor(15);
cscanf("%d",d);

But when i execute and start typing there are a problem when i press backspace button to delete what i just typed

if i used just the scanf it will look like this:

enter image description here

Also i can't use the function system("COLOR 6C"); because it change the color of all text

All i want is if there are any other way to color the input text

I'm using code::blocks (windows)

(sorry for my bad english)


Aucun commentaire:

Enregistrer un commentaire