jeudi 25 octobre 2018

Is there a easy way to underline text in c++?

i think i have seen some example like this but they have any other codes that i dont really understand if you need all that to have a underline text.

#include <system>

const string UNDERLINE = "\x1B[4m";

const string RESET = "\x1B[0m";

Console.WriteLine("Some " + UNDERLINE + "underlined" + RESET + " text");

Aucun commentaire:

Enregistrer un commentaire