Re: Help for designing outlines in c language
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Tue, 18 Jul 2006 02:02:58 +0000 (UTC)
In article <44bc118c$1_5@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Simon Biber <news@xxxxxxxxx> wrote:
Walter Roberson wrote:
In article <44bbf805$1_3@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Simon Biber <news@xxxxxxxxx> wrote:
puts(
"|------------------------|\n"
"| MAIN MENU |\n"
"|------------------------|\n"
"| 1. Add |\n"
"| 2. Subtract |\n"
"| 3. Multiply |\n"
"| 4. Quit |\n"
"|------------------------|\n");
That assumes a fixed width font, which is not a portable assumption.
With a proportional font it will still work, but just look weird.
With a proportional font, it is unlikely to fullfill the requirement
of having a "border". For example in the font 'ariel', the trailing
bar of several lines align with the end fof the U of the word
MENU .
What hosted C environment has a display less than 26x8 characters?
Windows on PalmOS might well be that small.
My program will also work on teletype printer terminals -- it does not
require a display.
teletypes sometimes have proportional fonts.
--
Okay, buzzwords only. Two syllables, tops. -- Laurie Anderson
.
- References:
- Help for designing outlines in c language
- From: Manmeet Mittal
- Re: Help for designing outlines in c language
- From: Simon Biber
- Re: Help for designing outlines in c language
- From: Walter Roberson
- Re: Help for designing outlines in c language
- From: Simon Biber
- Help for designing outlines in c language
- Prev by Date: Re: converting string into integer
- Next by Date: Re: How to write a small graceful gcd function?
- Previous by thread: Re: Help for designing outlines in c language
- Next by thread: Re: Help for designing outlines in c language
- Index(es):