Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
How can I change the output color in C++?
+2
votes
asked
Nov 23, 2019
by
darkcat
For example I want to output 0 and 1 and I want 0 to be red and 1 to be blue, how can I do this on this editor?
colors
output
Please
log in
or register to answer this question.
1 Answer
+1
vote
answered
Nov 25, 2019
by
gameforcer
(
3,010
points)
You could do that in windows console. This editor however functions on linux distribution so it is not possible in here.
commented
Nov 25, 2019
by
thedude
You are wrong, look up ANSI colors
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...