Re: what about this new way of opening file

From: Joona I Palaste (palaste_at_cc.helsinki.fi)
Date: 12/20/03


Date: 20 Dec 2003 18:28:46 GMT

Arthur J. O'Dwyer <ajo@nospam.andrew.cmu.edu> scribbled the following:
> On Sat, 20 Dec 2003, Madhur wrote:
>> Hello
>> what about this nice way to open a file in single line rather than using
>> if and else.

> What about it? I'll point out the obvious errors, but I'm not
> sure what it is on which you really want comments.

>> clrscr();

> No such function -- luckily, this line doesn't seem to do
> anything critical anyway, and can safely be removed entirely.

I think many newbies simply think that all programs *must* start by
clearing the screen, whatever they do. No matter whether they're
calculating a sum or a GCD, or implementing an e-mail client - clearing
the screen is essential for doing anything at all. It's starting to
annoy me.

-- 
/-- Joona Palaste (palaste@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners."
   - Ernst Jan Plugge


Relevant Pages

  • Re: God I Love Delphi7
    ... abraham wrote: ... > Microsoft has never said what you claim they have. ... thanks for clearing that up. ... Posted with XanaNews 1.16.5.2 ...
    (borland.public.delphi.non-technical)
  • Microsoft is Evil
    ... Microsoft is sneaky... ... clearing your browser cache when you click those buttons? ... Might want to read into these articles some: ...
    (microsoft.public.security)