problem:
【相关文章:“小”企业上ERP选型必读 】 【扩展阅读:免费的UML1.4开发的面向对象的可视化】 if you ever tried to read a html document on a macintosh, you know how hard it is if no netscape is installed. 【扩展信息:boost中的operator及一些探讨】 now, who can forget to install a html browser? this is very easy because most of the times you don´t need one on a mac because there is a acrobate reader which is native to mac. but if you ever need one, what do you do? your task is to write a small html-browser. it should only display the content of the input-file and knows only the html commands (tags) <br> which is a linebreak and <hr> which is a horizontal ruler. then you should treat all tabulators, spaces and newlines as one space and display the resulting text with no more than 80 characters on a line. input: the input consists of a text you should display. this text consists of words and html tags separated by one or more spaces, tabulators or newlines. a word is a sequence of letters, numbers and punctuation. for example, "abc,123" is one word, but "abc, 123" are two words, namely "abc," and "123". a word is always shorter than 81 characters and does not contain any ´<´ or ´>´. all html tags are either <br> or <hr>. output: you should display the the resulting text using this rules: ... 下一页