i am just curios what does the textattr used for?
thankz
case '2':
printf("\n\n Enter ID Number to browse: ");
gets(search);
for(s=0;s%26lt;10;s++)
{
if(!strcmp(search,whois[s].id_no))
{
printf("\n\n Entry %d:",s+1);
printf("\n Name : %s",whois[s].name);
textattr(14);
printf("\n ID No.: %s",whois[s].id_no);
textattr(15);
printf("\n Course: %s",whois[s].course);
printf("\n Year : %s",whois[s].year);
hits=hits++;
}
I just want to ask whats the function of the "textattr" in C program.?
textattr : stores currently selected text attributes.
The TextAttr variable controls the attributes with which characters are written to screen.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment