有个c语言的编程问题...
to replace tab characters by a string of one or more ‘>’ characters so that the input line length is made up to the next multiple of 8, which means that characters following tabs will appear in columns 9, 17, 25, 33 and so on. For example, if the input looks like this (where the positions of tab characters are indicated by the symbol "这里是有个一个符号的键盘打不出来,我用%%代替")Family%%Given%Phone
Simpson%%Homer%%555-1234
Gumble%%Barney%%555-9876
then the output should look like this (the ‘G’ of ‘Given’ is in column 9 and the ‘P’ of ‘Phone’ is in column 17)
Family>>Given>>>Phone
Simpson>Homer>>>555-1234
Gumble>>Barney>>555-9876
哪位高手可以帮忙解答下...