Ray's playground

 

2010年10月19日

TopCoder SquareDigits

摘要: SquareDigitsCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<set>2usingnamespacestd;34classSquareDigits5{6private:7ints(intx);89public:... 阅读全文

posted @ 2010-10-19 21:28 Ray Z 阅读(213) 评论(0) 推荐(0) 编辑

The Preprocessor(Chapter 12 of Programming in Objective-C 2.0)

摘要: If you place a # in front of a parameter in a macro definition, the preprocessor creates aconstant C-style string out of the macro argument when the macro is invoked. For example,  the definition  #de... 阅读全文

posted @ 2010-10-19 20:45 Ray Z 阅读(190) 评论(0) 推荐(0) 编辑

TopCoder HowEasy

摘要: HowEasyCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<string>2#include<sstream>3#include<algorithm>4usingnamespacestd;56c... 阅读全文

posted @ 2010-10-19 09:40 Ray Z 阅读(251) 评论(0) 推荐(0) 编辑

导航