Haoxiang’s Blog
Skip to content
  • Home
  • Blog Posts
  • (中文)
  • (EN)
  • About
  • RSS
  • Messages

reference

There are 2 posts tagged reference (this is page 1 of 1).

STL map operator[] not const

STL里Map的Operator[]和其它的Container不太一样。 因为Map的Operator[]可以提供这种操作: map testMap; testMap[“a”] = “b”; 所以Map的Operator[]返回的是T&,而不是const T& 如果需要得到const reference,可以这样: map testMap; const string& constMember = testMap.find(“a”)->second;

in Blog Posts, Solution, 中文 | 2012/03/11 | Comment

[iOS]use different names for icons and launch images

Useful references: In order to use different names for icons and launch images in your App, you need to add new entries in your info.plist file. For icons, refer to this: App Icons on iPad and iPhone For launch images, refer to this: App Launch (Default) Images

in Blog Posts, English, Solution | 2011/12/13 | 1 Comment
这个网站使用的主机 (我的推广链接)
Independent Publisher empowered by WordPress