On 06Nov2007 18:56, mukyvelous2k5 <[EMAIL PROTECTED]> wrote:
| please help me with a program that can read from a file that contains 
| only numbers and add them, and returns the sum. the program should be 
| very fast

Read "man awk" and proceed. This sounds like homework to me.
AWK is a good place to start for such a simple task.
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

Oh, the Grand Old Duke of York, he had ten thousand men. He marched them up
to the top of the hill, and crushed all the nations of the world and brought
them under the rule of Satan Our Master.
        - Neil Gaiman and Terry Pratchett


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to