Hey guys i need to color code

printf("hello World");//how do i change this to green
printf("How are you");//How do i change this to yellow or something

How do i change the color of the text inside the printf

Recommended Answers

All 2 Replies

Standard C doesn't do color.

how to do it will depend on the operating system and possibly the compiler you are using.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.