Text Font Colors & Size

This is a discussion on Text Font Colors & Size within the C++ Programming forums, part of the General Programming Boards category; Okay, here is my probelm. Here is an example of code Code: cout<< "Hello and welcome to my program, bla ...

  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    5

    Exclamation Text Font Colors & Size

    Okay, here is my probelm. Here is an example of code

    Code:
    cout<< "Hello and welcome to my program, bla bla bla la de da.";
    On the program it would look like.

    Hello andwelcome to my program, bla bla bla le de da.

    How do I make it look more like,

    Hello and welcome to my program, bla bla bla la de da.

    Is it possible in C++? Or do I need to go strait into something else for this to work??

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    The C++ standard doesn't deal with fonts, colour and such things. That is because the standard is meant to work on just about any system.

    Now, given a particular system, there is PROBABLY a way for code on that system to say "I want bigger, yellowish brown text" rather than the standard one. Unfortunately, it is not very likely to happen via cout, and it won't work the same on a Linux system as it does on a Windows system.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. char Handling, probably typical newbie stuff
    By Neolyth in forum C Programming
    Replies: 16
    Last Post: 06-21-2009, 05:05 AM
  2. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 03:17 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. What Font Size do you prefer?
    By SourceCode in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 03-23-2003, 04:58 AM
  5. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 07:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21