Generally, in all C++ programs, texts are in white colour.
Can we change the colour of the text(either input or output
or both)? If so, help me out.

Answer Posted / sidhartha

Yes, it can be possible by using graphics library function.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism important in oop?

822


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2379


What are objects in oop?

830


Is oop better than procedural?

775


Is enum a class?

798


Is data hiding and abstraction same?

778


How oops is better than procedural?

837


What are functions in oop?

789


What does no cap mean?

795


What is the real time example of inheritance?

866


What is polymorphism in oop example?

738


officer say me - i am offered to a smoking , then what can you say

1848


What is class and example?

822


What is super in oop?

843


Which type does string inherit from?

839