데니스 리치가 쓴 c프로그래밍 랭귀지라는 책의 예제인데요 뭔말인지 모르겠네요.. 다음은 문제입니다.
Exercise 1-20 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?
Exercise 1-21 Write a program entab that replaces strings of blanks by the minimum number of tabs and blanks to achieve the same spacing.Use the same tab stops as for detap. When either a tab or a single blank would suffice to reach a tab stop,which should be given preference?
그럼 이만
|