+ 1

Is bold output in c++ possible?

I would like to print a particular word in bold (in a cout statement). Is it possible? If yes, then how can it be done?

2nd Jun 2020, 2:45 PM
Rammanathan Meyyappan
4 odpowiedzi
+ 1
It varies from platform to platform. It's actually not related to C++, some terminals have special tags to make text colored, bold etc. Sadly it's not possible to do in Windows.
2nd Jun 2020, 3:41 PM
Hakan Candar
Hakan Candar - avatar
0
Yes Almost everything is possible in c++
2nd Jun 2020, 2:59 PM
Ambele Newton
Ambele Newton - avatar
0
So...if you are using another terminal on windows which is not command prompt, u can't do it?
2nd Jun 2020, 3:44 PM
Ambele Newton
Ambele Newton - avatar
0
It's not possible to do it on command prompt. I'm not sure about the unofficial terminals in Windows, though.
2nd Jun 2020, 3:47 PM
Hakan Candar
Hakan Candar - avatar