当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: Problem:If you ever tried to rea
 

 

 ·关于lexical    »显示摘要«
    摘要:看了凌杰的文章(http://blog.csdn.net/owl2008/archive/2004/09/28/119595.aspx),也想补充两句。lexical_cast比起stringstream来说,的确不一定简洁,当然,其语义和可读性都有提高,但同时也失之灵活。例如下面的情况,似乎就无法用lexical_cast办到。#include <sstream>using namespace std; int main(int, char......
    摘要:look at the following code below. it has delete column, which we use to delete items in the grid. but delete is so careful action, we require the javascript alert to confirm the delete operation. <asp:datagrid id=&quo......


浙大在线评测 1099 HTML

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:


...   下一页
 ·微软不想捆绑flash7    »显示摘要«
    摘要: macromedia和微软的关系可以说是一种标准的“合作性竞争”的关系。一方面,微软在windowsxp操作系统中捆绑了macromedia的flash5播放器。另外,macromedia的flash播放器也是sp2当中唯一集成的一个第三方软件,这意味着,windows用户在升级到sp2以后,他们的flash播放器也自动的从flash5升级到flash6。 另外一方面,微软并没有选择flash7进行捆绑,因为,flash7需要......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE