合金弹头

A flasher’s notes qq:830911
posts - 14, comments - 11, trackbacks - 0, articles - 0

2011年8月23日

摘要: iPhone中使用ShareKit一键分享到Facebook,Twitter等多平台ShareKit是iPhone中一键分享文字,图片,链接,文件到Facebook, twitter, delicious, tumblr, google reader等第三方网站的objc库(1) Download :http://getsharekit.com/d/ShareKit.0.2.1.zip(2) Github :http://github.com/ideashower/sharekit/阅读全文

posted @ 2011-08-23 12:36 合金弹头 阅读(57) 评论(0) 编辑

2011年8月21日

摘要: 在c++中,为了解决一些频繁调用的小函数大量消耗栈空间或者是叫栈内存的问题,特别的引入了inline修饰符,表示为内联函数。可能说到这里,很多人还不明白什么是栈空间,其实栈空间就是指放置程序的局部数据也就是函数内数据的内存空间,在系统下,栈空间是有限的,如果频繁大量的使用就会造成因栈空间不足所造成的程序出错的问题,函数的死循环递归调用的最终结果就是导致栈内存空间枯竭。 下面我们来看一个例子:#include<iostream>#include<string>usingnamespacestd;inlinestringdbtest(inta);//函数原形声明为inlin阅读全文

posted @ 2011-08-21 03:01 合金弹头 阅读(26) 评论(0) 编辑

摘要: 基本数据类型1. int输出格式符:%i, %d, %o %x,2. float输出格式符:%f, %e, %g3. double输出格式符:%f, %e, %g4. char输出格式符:%c限定符:1. longlong int: %lilong double: %Lf形成long int通过在数字后面加L.long int number = 123324123234123L;2. long longlong long int: %lli3. shortshort int: %hi4. unsigned5.signed它们各自所占的字节数#import <Foundation/Foun阅读全文

posted @ 2011-08-21 01:08 合金弹头 阅读(204) 评论(0) 编辑

2010年10月25日

摘要: 以下是格式化int,float,double和long型的示例////PrintFormat.h//DataTypes////#import<Foundation/Foundation.h>@interfacePrintFormat : NSObject{}-(void) print;@end实现部份////PrintFormat.m//DataTypes////#import"Pri...阅读全文

posted @ 2010-10-25 11:08 合金弹头 阅读(311) 评论(0) 编辑

2010年7月22日

摘要: 1.新建一个Window-based Application 命名为PremierLeague2.PremierLeague-Info.plist 中的NSMainNibFile删掉3.删掉MainWindow.xib4. AppDelegate.m 加入测试- (void)applicationDidFinishLaunching:(UIApplication*)application { //...阅读全文

posted @ 2010-07-22 09:44 合金弹头 阅读(17) 评论(0) 编辑

2009年5月26日

posted @ 2009-05-26 12:49 合金弹头 阅读(23) 评论(0) 编辑

2009年5月22日

摘要: www.getsuns.cn阅读全文

posted @ 2009-05-22 00:03 合金弹头 阅读(24) 评论(0) 编辑

2009年5月17日

摘要: QQ给图片加了防盗,有空再换个图片吧。 点击下载源码提取码 18a84ab2[代码][代码]阅读全文

posted @ 2009-05-17 19:41 合金弹头 阅读(689) 评论(0) 编辑

2009年5月16日

摘要: 单击熊猫可获得它不同的Action http://files.cnblogs.com/getsun/CharacterMove.rar源码阅读全文

posted @ 2009-05-16 18:08 合金弹头 阅读(1424) 评论(0) 编辑

2007年6月5日

posted @ 2007-06-05 15:32 合金弹头 阅读(298) 评论(0) 编辑