Thread: Percentage Complete?

  1. #16
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    >Can a little calculation and output statement make that much of a difference?
    My best code is written with the delete key.

  2. #17
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Portland, OR
    Quote Originally Posted by Abda92 View Post
    OK thanks anon that's not a bad way to find the size. But is there any better algorithm? I don't know I feel mine is very cheap if you know what I mean.
    There is nothing expensive about seeking to the end of a file. it is also the only portable way to solve your problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. binary tree complete check
    By ichijoji in forum C++ Programming
    Replies: 5
    Last Post: 11-12-2004, 05:48 PM
  2. Percentage
    By skyglin in forum C Programming
    Replies: 7
    Last Post: 06-23-2003, 05:18 PM
  3. Doom Lord engine complete!
    By Leeman_s in forum Game Programming
    Replies: 8
    Last Post: 05-12-2002, 12:44 AM
  4. doom lord engine complete!
    By Leeman_s in forum C++ Programming
    Replies: 4
    Last Post: 04-25-2002, 08:41 PM