The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Some programming help by eof2005-01-27 05:30:17
  C has commands that... by jdelphiki 2005-01-27 05:38:47
...allow you to read a character at a time off the input stream ("getc"? I can't quite remember the right one). That's probably what the instructor is pushing for.

Using string or line commands to solve the problem will be unnecessarily slow.

In Java, I might just try to read the file size from the system info for it, rather than opening and reading it, but that would probably be seen as cheating by your instructor. ;)
[ Reply ]
    Yes I know but... by eof2005-01-27 06:53:36

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)