I don't quite understand this exercise...
- From: "Patrick M." <noone@xxxxxxxxxxx>
- Date: Sun, 25 Sep 2005 20:01:09 -0400
I don't quite understand what K&R want me to do in Exercise 1-20 in "The C Programming Language, 2nd Edition". Here's the description:
"Write a program detab that replaces tabs in the input with the proper number of blanks to space to the next tab stop. Assume a fixed set of tab stops, say every n columns. Should n be a variable or a symbolic parameter?"
What does this mean? Do they want me to figure out the amount of spaces a tab takes up on my system, and add them? I'm sort of confused about this question.
-- Patrick M. /* EOF */ .
- Follow-Ups:
- Re: I don't quite understand this exercise...
- From: Thad Smith
- Re: I don't quite understand this exercise...
- From: Gordon Burditt
- Re: I don't quite understand this exercise...
- From: Charlie Gordon
- Re: I don't quite understand this exercise...
- Prev by Date: Re: how to print a short and long integer?
- Next by Date: Re: I don't quite understand this exercise...
- Previous by thread: converting a preprocessor token to a string constant
- Next by thread: Re: I don't quite understand this exercise...
- Index(es):
Relevant Pages
|