K&R exercises
- From: "mdh" <mdeh@xxxxxxxxxxx>
- Date: 12 Apr 2006 13:18:44 -0700
Hi Group,
Not looking for an answer, but more of an explanation. Thinking back
to those heady days when you had the time to do them, may I ask this.
Exercise 1-22 asks for a program to "fold" long input lines into 2 or
more shorter lines before the nth column... etc etc. Now, there are
numerous anwers on the web and in the "C answer book", which includes a
function to expand the tabs to blanks ( depending upon where the tab is
in relationship to the next tab-stop). I have been trying to understand
why one would do this....why not just leave the tabs alone.
Not even sure if I should have asked this, but anyway.....
Tks
.
- Follow-Ups:
- Re: K&R exercises
- From: ozbear
- Re: K&R exercises
- From: Pedro Graca
- Re: K&R exercises
- From: Fred Kleinschmidt
- Re: K&R exercises
- From: Diomidis Spinellis
- Re: K&R exercises
- From: Roberto Waltman
- Re: K&R exercises
- Prev by Date: Re: realloc(): invalid next size
- Next by Date: Re: K&R exercises
- Previous by thread: fgetc() vs. fread()
- Next by thread: Re: K&R exercises
- Index(es):
Relevant Pages
|