http://blog.csdn.net/cll131421/article/details/7763657 编译过程:错误一:无法打开包括文件:“inttypes.h”: No such file or directory解决方法:删除之,并在其之前添加如下代码: #if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)# define CONFIG_WIN32#endif#if de
有关stdint.h 文件 Google C++编程规范的P25页有如下叙述: <stdint.h> 定义了 int16_t . uint32_t . int64_t 等整型,在需要确定大小的整型时可以使用它们代替 short . unsigned long long 等,在 C 整型中,只使用 int .适当情况下,推 荐使用标准类型如 size_t 和 ptrdiff_t . 最常使用的是,对整数来说,通常不会用到太大,如循环计数等,可以使用普通的 int . 你可以认为 int 至少为
转:http://stackoverflow.com/questions/11382057/declaring-a-delegate-protocol There definitely are subtle differences. If the protocol you are talking about is a delegate that is used by one particular class, for example, MySpecialViewController, and M