1.C++ string 转换为 NSString std::string str("hello");
// NSString *str = [NSString stringWithString:str.c_str()]; NSString *ocstr =
[NSStr...
分类:
编程语言 时间:
2014-05-10 08:14:05
阅读次数:
381
Hello
WorldLinux设备驱动的第一个例子。一.源程序(hello.c)#include#includeMODULE_LICENSE("DualBSD/GPL");staticinthello_init(void){printk(KERN_ALERT"Hello,world/n");ret...
分类:
系统相关 时间:
2014-05-10 07:40:47
阅读次数:
408
之前一直学习,现在终于有时间来整理一下文档了。以下文章都是自己学习Jquery
的笔记,希望能留下痕迹,也希望能帮助到您。好了开始我的Jquery第一天。我也是从Hello wrod!开始的。关于jquery 的引用我直接一笔带过。如下:
jquery 链式操作 接下来让我们来看看一个复...
分类:
Web程序 时间:
2014-05-10 06:19:01
阅读次数:
282
无标题文档hellodiv块覆盖在hello上,依然是透明的
分类:
Web程序 时间:
2014-05-10 06:03:45
阅读次数:
328
Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory and this may not trouble him, Neal gives it to Jiejie.
Since Ji...
分类:
其他好文 时间:
2014-05-10 03:48:22
阅读次数:
352
多人协作时编辑word文档的一个小窍门
最近在工作中编写标书时由于不同内容分给了各个部门去制作,但是在汇总后遇到再次修改的问题。对方把修改后的部分文档发给我粘贴到标书中后,所有的格式全部都乱了。重新整理格式、标题,每次导入新的文档都重复这个工作,真是低效啊。事后想想word这么高级的文档编辑工具,肯定会有解决办法吧?
解决办法一 文档合并
将每个章节划分为多个文档,文档名称命名为章节编号...
分类:
其他好文 时间:
2014-05-09 22:00:21
阅读次数:
300
importtypesaaa=0printtype(aaa)iftype(aaa)istypes.IntType:print"thetypeofaaaisint"ifisinstance(aaa,int):print"thetypeofaaaisint"bbb=‘hello‘printtype(bbb)iftype(bbb)istypes.StringType:print"thetypeofbbbisstring"ifisinstance(bbb,str):print"thetypeofbbbisstring..
分类:
编程语言 时间:
2014-05-09 21:28:19
阅读次数:
474
大家都喜欢用hell world来写第一个程序,python这里也写一个!
直接输入print"hello world"然后运行就ok啦,是不是很简单? 你确实没看错真的这么简单。
当然你可以也在cmd下面进行运行,前提是你配置了系统环境变量,(直接把python的安装路径添加到path里...
分类:
编程语言 时间:
2014-05-09 20:22:11
阅读次数:
322
metacharactersrelationtomatch:*:0-multi+:1-multi?:0-1{n},{n,m},{n,}:thenumberofmatchingstringswitcheg:pattern="lynn|coco"src1="hello,mynameislynn"result1="lynn"src2="hello,mynameiscoco"result2="coco"ignorecaseeg:pattern="(?i)Lynn"src="hello,mynameislynn"res..
分类:
其他好文 时间:
2014-05-09 14:26:32
阅读次数:
237
最近无聊,再学学unp吧。学学网络编程。下面是一个demo:intro/daytimetcpcli.c#include
"unp.h"intmain(int argc, char **argv){ int sockfd, n; char ...
分类:
其他好文 时间:
2014-05-09 06:39:40
阅读次数:
333