u r not a c/c++ programmer.
there is a bug in the code. it prints 101 times of the sentence... it must be made up by a "小编"
You get respect by NOT doing anything extra.the extra one is bonus for the teacher.
mine is // comments only.
your teacher will be pleased if you punish yourself one line more than she asked.You get respect by NOT doing anything extra.
涨知识了。 搞计算机十几年了, 终于知道这个词语中文怎么说。 谢谢。正则表达式
说得好. 曾经有一个很牛的程序员写了一个很牛的 function, 用的是很牛的state machine,近千行code. 可惜太多 bugs. 最后我去救急,推倒重来,用了一个不到20行的 recursive function,搞定.You get respect by NOT doing anything extra.
说得好. 曾经有一个很牛的程序员写了一个很牛的 function, 用的是很牛的state machine,近千行code. 可惜太多 bugs. 最后我去救急,推倒重来,用了不到20行的regression, 搞定.
一个比一个牛,可是不出活,20行程序才多少工钱?能20行把recursive展开才是大牛。他那个,没两天就stack overflow,然后heart bleeding。。。
五毛。一个比一个牛,可是不出活,20行程序才多少工钱?
要是平时,这二十几行 code 会默默无闻。但我这二十几行code则不一样,因为替代了NB的 state machine, 解决了让大家敬而远之的老大难。不能用钱来衡量。五毛。