Ray's playground

 

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 a constant C-style string out of the macro argument when the macro is invoked. For example,
  the definition
  #define str(x) # x
  causes the subsequent invocation
  str (testing)
  to be expanded into
  ”testing”.

posted on 2010-10-19 20:45  Ray Z  阅读(190)  评论(0编辑  收藏  举报

导航