Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how increasy size of font in terminal linux c++ of onlinegdb ?

+3 votes
asked Sep 7, 2023 by Éder S. (320 points)
how increasy size of font in terminal linux c++ of onlinegdb ?

i want work increasy, are very small.

#include <iostream>
using namespace std;

int main() {
    // code scapes ANSI to change color of text.
    cout << "\033[0;31m \033[1m \033[4m Word in Green !\x1b[0m" "\n" ; // Define color green and after put color stand

   cout << "it word are standard" ;

    return 0;
}

// good reference to change color text https://bureau-it.com/artigos/como-exibir-cores-no-terminal/

1 Answer

0 votes
answered Sep 8, 2023 by Peter Minarik (86,240 points)
edited Sep 9, 2023 by Peter Minarik
The standard output is character-based. It has no concept of font or font size. It's up to your terminal how it is displayed. In OnlineGDB's case, it's part of the website. Therefore, you can use your browser's zoom feature to enlarge the font size (across the whole site).
commented Sep 8, 2023 by Éder S. (320 points)
thanks, all ok, i understand.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...