answersLogoWhite

0

Sample text color in C language?

Updated: 8/11/2023
User Avatar

Wiki User

11y ago

Best Answer

printf("%c[%d;%dmHello World%c[%dm\n",27,1,33,27,0);

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

In C Programming Language text color change using built function fontcolor()

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

C++ has nothing to do with the text-color.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Sample text color in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Load a text in C language?

Where from? Where to? Be more specific.


Reading and writing text files in c language?

Possible.


How do you convert text into binary in vb or c sharp code?

C# EXAMPLEString text="My sample data";System.Text.ASCIIEncoding encode=new System.Text.ASCIIEncoding();//convert to binary and store in a byte[]byte[] binaryArray=encode.GetBytes(text);


How does one indicate that certain text is to be treated as a comment in the classic C language?

Place the text between /* */ .


How do you say see you later in text language?

C u l8r


How to change the color of output and background in c language?

in layout


What does c sur mean in French?

"c sur" is text language for "c'est sur", meaning "that's sure" in English.


What language is ing.nl written in?

The programming language used for ing.nl is C# or VB.NET (ASP.NET). The language used for the main text is in Dutch. The server host is located in Amsterdam.


Why coding of c language is colourful?

I think it is the 'syntax highlighing' what you mean. It's a feature of the text-editor.


When was Samuel C. Sample born?

Samuel C. Sample was born in 1796.


When did Samuel C. Sample die?

Samuel C. Sample died in 1855.


How do you write a c program to store 5 names in structures and print them each in one line?

With a text editor, and some basic knowledge of the C programming language.