// 1. 声明一个NSString对象,注意对象前要加‘*’;
NSString *string1;
// 赋值方式1,初始化赋值;
NSString *string2 = [[NSString alloc] initWithString: @"hello world!"];
// 赋值方式2...
分类:
其他好文 时间:
2014-10-10 19:07:34
阅读次数:
150
Shoot the Bullet
Time Limit: 2 Seconds Memory Limit: 32768 KB Special Judge
Gensokyo is a world which exists quietly beside ours, separated by a mystical border. It is a utopia where h...
分类:
其他好文 时间:
2014-10-10 18:30:44
阅读次数:
266
使用java -jar命令在命令行执行jar包,传入参数时,参数包含空格,例如“hello world”,这个参数会被解析成两个参数“hello”和“world”。这样的结果是执行时不能正常的获取参数。这时只要在参数两边加上引号即可。一开始使用的命令如下:java -jar Test.jar %{t...
分类:
编程语言 时间:
2014-10-10 16:51:44
阅读次数:
2514
截图中包含一个服务器和一个客户端。服务器端HelloWS.java接口/**
*SEI
*
*/
@WebService
publicinterfaceHelloWS{
@WebMethod
publicStringsayHello(Stringname);
}HelloWSImpl.java实现HelloWS.java接口@WebService
publicclassHelloWSImplimplementsHelloWS{
@Override
..
分类:
Web程序 时间:
2014-10-10 16:15:04
阅读次数:
161
NSXMLParser是标准库类Book.xml 金庸 sfdgasidfhasdfb --> hello,world i'm lishujun sdfsdfs\ aaaasdfsdf ...
分类:
移动开发 时间:
2014-10-09 22:09:47
阅读次数:
407
新建android工程,然后默认“下一步”即可完成创建;2.添加Button3.在src的MainActivity.java添加以下红色代码import android.support.v7.app.ActionBarActivity;import android.support.v7.app.Ac...
分类:
编程语言 时间:
2014-10-09 21:30:17
阅读次数:
286
其实就是判断新加的点是否在同一个集合里面
代码虐我千百遍,我待代码入初恋
Ice_cream's world I
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 583 Accepted Submission(s): 3...
分类:
其他好文 时间:
2014-10-09 16:12:48
阅读次数:
186
Free Autodesk Software for All Students EverywhereAutodesk now provides free software for students, teachers, and schools around the world.Inspiring c...
分类:
其他好文 时间:
2014-10-09 14:12:33
阅读次数:
208
Apache is the most popular web server in the world,because it is more efficient than others.Thrust of this article is to share some useful apache modu...
分类:
其他好文 时间:
2014-10-09 13:08:33
阅读次数:
315