up vote
1
down vote
The standart c++ can't output the text with any formatting. However, it's possible to output your string in bold, and even in different colours. It depends on the operation system you're using and the terminal/console you're running in.
For example, in Window's console, there's no way to write a text in bold.
If you're using Linux/Unix, then, in most terminal emulators and in virtual console, you can write your string in bold, and even choose the color for it, just by adding e[1m before your string, and e[0m after your string to make sure that the other strings will be not bold.
e is the escape symbol. In Vim, you can simply write it just by pressing ctrl + v + esc.
Here is a simple example for Linux/Unix (Mac is also Unix):