Re: Help for designing outlines in c language



In article <44bbf805$1_3@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Simon Biber <news@xxxxxxxxx> wrote:
Manmeet Mittal wrote:

I want to create menus and borders in c. How can make it. What r its codings.

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.

It also assumes that the display is at least 26 wide by 8 high,
which is also not portable.
--
"law -- it's a commodity"
-- Andrew Ryan (The Globe and Mail, 2005/11/26)
.