Answers for "how to write coloured text in c++"

C++
1

how to add colored text in c++

#include <iostream>
#include <stdlib.h>

using namespace std;

int main()
{
    //Changing Font Colors of the System

    system("Color 7C");
    cout << "ttt ****CEB Electricity Bill Calculator****ttt " << endl;
    cout << "ttt  ***                MENU           ***ttt  " <<endl;

    return 0;

}
Posted by: Guest on October-15-2021

Browse Popular Code Answers by Language