通常来说,编程语言教程中的第一个程序应该在屏幕上打印“Hello, world”。在 Swift 中,可以用一行代码实现: 1 println("hello, world")如果你写过 C 或者 Objective-C 代码,那你应该很熟悉这种形式——在 Swift 中,这行代码就是一个完整的程序。...
分类:
其他好文 时间:
2014-07-16 19:24:39
阅读次数:
282
上半年,公司的一个项目,本身我是不喜欢Android开发的,但是学习到的东西总需要整理一下。从iOS转到Android,真心有些不习惯。就IDE来说,eclipse比Xcode差的不是一点半点。Android模拟器竟然还要开机!我勒个去。。 今天写个最简单的Android NDK的小栗子。首先,什么...
分类:
移动开发 时间:
2014-07-16 19:07:06
阅读次数:
213
1. 定义http://en.wikipedia.org/wiki/Adapter_patternAn adapter helps two incompatible interfaces to work together. This is the real world definition for ...
分类:
其他好文 时间:
2014-07-16 19:01:47
阅读次数:
345
上次的Hello world算是入门了,现在学习一些相关工具的使用
分类:
编程语言 时间:
2014-07-16 17:58:01
阅读次数:
344
spring mvc整合spring security入门hello world示例
分类:
编程语言 时间:
2014-07-16 17:52:30
阅读次数:
307
package mainimport "fmt"func main() { fmt.Printf("Hello, world.\n")}
分类:
其他好文 时间:
2014-07-16 17:38:26
阅读次数:
156
Description
Problem C
SAM I AM
Input: Standard Input
Output: Standard Output
The world is in great danger!! Mental's forces have returned to Earth to eradicate humankind. Our last hope to ...
分类:
其他好文 时间:
2014-07-16 10:15:05
阅读次数:
217
Go对web服务器的编写提供了非常好的支持,标准库中提供了net/http包来方便编写服务器。许多教程和书籍在讲到用Go编写web服务器时都会直接教新手用http包写一个最简单的hello world服务器,例子差不多都会像这样:
// 这就是用Go实现的一个最简短的hello world服务器.
package main
import "net/http"
func main() {
h...
分类:
其他好文 时间:
2014-07-16 09:43:16
阅读次数:
216
Ubiquitous Religions
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 23168
Accepted: 11404
Description
There are so many different religions in the world t...
分类:
其他好文 时间:
2014-07-16 09:04:14
阅读次数:
226
Ubiquitous Religions
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 23093
Accepted: 11379
Description
There are so many different religions in the world...
分类:
其他好文 时间:
2014-07-14 18:28:12
阅读次数:
222