About 9,330,000 results
Open links in new tab
  1. string - Bold output in C++ - Stack Overflow

    Apr 18, 2016 · Standard C++ uses various locales/character sets to display the output in various alphabets. However, the text itself is just that, text, without formatting. If you want your output …

  2. C++: How to change the size of text and change text properties …

    Dec 4, 2021 · I would really like to change the size of the text that is output by the program and even maybe change it to being bold, but I have no idea where to even start. Just as an …

  3. Add Bold Tag in String in C++ - Online Tutorials Library

    Nov 16, 2020 · Learn how to add bold tags in strings using C++. This guide provides step-by-step instructions and examples for implementing bold formatting in your C++ applications.

  4. How can I make a precise string of output text bold?

    Sep 25, 2022 · You need to understand that the std out is generic output. The terminal renders that text. You need to know the control characters to get that terminal to display bold. Asking …

  5. making text bold and colored in console program - C++ Users

    Apr 1, 2011 · I have this code and the program is functional. But I want the bold lines in the following code to be bold and blue. How do I do this? Is this possible? Please guide me. …

  6. How To Bold Strings Within C - Vector Linux

    May 17, 2024 · In C, we can achieve bold text by using the escape sequence “\e [1m” before the string we want to bold, and “\e [0m” after the string to reset the formatting. Here’s an example …

  7. {fmt} - Vorbrodt's C++ Blog

    Mar 31, 2019 · fmt:: print (fmt:: emphasis:: bold, "The text is bold\n"); fmt :: print ( fmt :: fg ( fmt :: color :: red ) | fmt :: bg ( fmt :: color :: green ) , "The color is red and green\n" ) ; // Date and …

  8. How to bold text in c program - Stack Overflow

    Mar 1, 2022 · To make that a little more readable, use some string literal macros for the color and formatting codes, like this: for (int i = 1; i <= 5; i++) printf(COLOR_BOLD "Md.Mehedi hasan\n" …

  9. In a C/C++ program, how can I write bold text in the terminal?

    Jun 20, 2014 · is it possible to format the console output, like writing in bold, of a C/C++ program? I'm talking just about the console output (so no high-level) e.g.: std::cout << "\b this is bold"; …

  10. In C++ program how can I get the output in bold letters?

    Mar 25, 2015 · Bold output is going to depend on the system and destination (as in the previous comment). For pure text output, something like ncurses might be handy. Uppercasing can be …

  11. Some results have been removed
Refresh