All Projects → yurablok → colored-cout

yurablok / colored-cout

Licence: Unlicense License
"colored cout" is a simple overloading of operator<< that allow you to print in console using 8 basic colors

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to colored-cout

console
HAL management console
Stars: ✭ 41 (+115.79%)
Mutual labels:  console
color-console
A lightweight header-only C++ library to bring colors to your Windows console with a very-easy-to-use API.
Stars: ✭ 97 (+410.53%)
Mutual labels:  console
mautic-cron-commands
Script to run Mautic commands from a web page.
Stars: ✭ 32 (+68.42%)
Mutual labels:  console
executor
A powerful "short-cutter" to your console to you and your team!
Stars: ✭ 21 (+10.53%)
Mutual labels:  console
ttdl
TTDL - Terminal Todo List Manager
Stars: ✭ 91 (+378.95%)
Mutual labels:  console
cli
Aplus Framework CLI Library
Stars: ✭ 104 (+447.37%)
Mutual labels:  console
toxic
An ncurses-based Tox client
Stars: ✭ 20 (+5.26%)
Mutual labels:  console
enquirer
Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.…
Stars: ✭ 6,523 (+34231.58%)
Mutual labels:  console
UIfied
A unified PowerShell DSL for UIs
Stars: ✭ 25 (+31.58%)
Mutual labels:  console
unity-rich-text
🌈 Forget about rich text tags pain
Stars: ✭ 14 (-26.32%)
Mutual labels:  console
samples
Sample smart contract apps for Xooa PaaS.
Stars: ✭ 19 (+0%)
Mutual labels:  console
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (+84.21%)
Mutual labels:  console
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (+0%)
Mutual labels:  console
hyperapp-logger
Log Hyperapp state updates and action information to the console.
Stars: ✭ 48 (+152.63%)
Mutual labels:  console
asciichart-sharp
C# port of asciichart
Stars: ✭ 27 (+42.11%)
Mutual labels:  console
pymailq
Simple mails queue management
Stars: ✭ 32 (+68.42%)
Mutual labels:  console
er-console
随机打印恶搞信息
Stars: ✭ 24 (+26.32%)
Mutual labels:  console
magic-console
Interactive programming for Atom
Stars: ✭ 13 (-31.58%)
Mutual labels:  console
webinc
Webex in console - Cisco Webex Teams Client for Linux/MacOS/Windows
Stars: ✭ 17 (-10.53%)
Mutual labels:  console
serilog-sinks-richtextbox
A Serilog sink that writes log events to a WPF RichTextBox control with colors and theme support
Stars: ✭ 48 (+152.63%)
Mutual labels:  console

colored cout

Screen

"colored cout" is a simple overloading of operator<< that allow you to print in console using 8 basic colors:

  • default console color
  • red
  • green
  • blue
  • cyan
  • magenta
  • yellow
  • white
  • grey

Usage:

std::cout << clr::red     << " red "
          << clr::yellow  << " yellow "
          << clr::green   << " green "
          << clr::cyan    << " cyan "
          << clr::blue    << " blue "
          << clr::magenta << " magenta "
          << clr::grey    << " grey "
          << clr::white   << " white "
          << clr::reset   << " reset\n";
std::cout << clr::red     << clr::on_cyan    << " red "
          << clr::yellow  << clr::on_blue    << " yellow "
          << clr::green   << clr::on_magenta << " green "
          << clr::cyan    << clr::on_red     << " cyan "
          << clr::blue    << clr::on_yellow  << " blue "
          << clr::magenta << clr::on_green   << " magenta "
          << clr::grey    << clr::on_white   << " grey "
          << clr::white   << clr::on_grey    << " white "
          << clr::reset                      << " reset\n";

Tested on MSVC 14.0 + Windows 10 & GCC 5.2.1 + Ubuntu 15.10.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].