Re: [LIP] How to implement banner

Aseem Asthana <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
* Niranjan Kumar B <nkboora-/[email protected]> [2003-11-29 14:47 PST]:
>  How to implement "banner" as provided in Solaris
> Unix, with some modification that is 
>  I want to write the word "Thank you" only in the form
> of 0's and 1's. The 1's appear in the form of "Thank
> you".

You probably want to break this down into simpler steps. How would you
write just the letter 'T' with 1's and 0's. What size should be letter be
in terms of rows and columns? Can you write down 'T' in 1's and 0's on
paper? What about other letters? Once you have all the letters, and
possibly some punctutation marks, write functions for each of them and call
them from your 'main' program based on the input that you get(parse argv
char by char).

Aseem.

-- 
"Where the clear stream of reason has not lost its way into the dreary
desert sand of dead habit" -- Geetanjali


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.