Tags:
create new tag
view all tags

How to print bold in c++

Use the following:

  • "\e[1m" - to start bolding
  • "\e[0m" - to end bolding

Example:

cout << "Print out " << "\e[1m" << "bold" << "\e[0m" << ", Now not bold again" << endl;

-- Jim Skon - 2016-10-18

Comments

Topic revision: r1 - 2016-10-18 - JimSkon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback