hello world 驱动,带参数,不带参数。。。
分类:
其他好文 时间:
2014-09-12 17:06:43
阅读次数:
184
1. [代码]使用 log = new Logger(this.GetType());log.Info("Hello world.");2. [代码]第二个版本,修复了Console重复发送消息的问题 using System;using System.Collections.Generic;u.....
分类:
Web程序 时间:
2014-09-11 16:39:12
阅读次数:
234
网上搜到的名为《LaTex新人教程,30分钟从完全陌生到基本入门》,实践了一下。安装CTEX后,打开WinEdt进行编辑,保存时选UTF-8,编译时选XeLaTex。1,基本\documentclass{article}\begin{document}hello, world\end{documen...
分类:
其他好文 时间:
2014-09-10 22:23:22
阅读次数:
431
下面记录一些常用的字符串操作
local str = "hello world"
-- string.len可以获得字符串的长度
local len = string.len(str)
print(len)
-- string.rep返回字符串重复n次的结果
str = "ab"
local newStr = string.rep(str,2)
print(newStr)
-- stri...
分类:
其他好文 时间:
2014-09-10 16:00:20
阅读次数:
159
最近参照Swift文档和http://www.chinaz.com/swift/chapter1/02_a_swift_tour.html的学习整理////main.swift//TestSwift1////Createdbyzqlon14-9-10.//Copyright(c)2014年TU.Allrightsreserved.//importFoundationprintln("Hello,World!")println("HelloSwift")varmyVariable=42..
分类:
编程语言 时间:
2014-09-10 12:43:41
阅读次数:
361
1. 定义变量1).定义变量时,变量名不加美元符号($),如: var="hello world"2).注意,变量名和等号之间不能有空格,这可能和你熟悉的所有编程语言都不一样。同时,变量名的命名须遵循如下规则: 首个字符必须为字母(a-z,A-Z)。 中间不能有空格,可以使用下划线(_)。 不能使用...
分类:
其他好文 时间:
2014-09-10 09:34:40
阅读次数:
214
版本1: NSString *hello = @"hello world"; for (int i = 0 ; i < hello.length; i ++) { unichar charactor = [hello characterAtIndex:i]; ...
分类:
其他好文 时间:
2014-09-09 19:55:39
阅读次数:
268
前记:这里是我做的shell笔记;接下来会提供一系列。Shell是一种脚本语言,那么,就必须有解释器来执行这些脚本。Unix/Linux上常见的Shell脚本解释器有bash、sh、csh、ksh等,习惯上把它们称作一种Shell。我们常说有多少种Shell,其实说的是Shell脚本解释器。至于这几...
分类:
其他好文 时间:
2014-09-09 17:54:59
阅读次数:
197
快速环境搭建和Hello World第一步:JAVA SDK(JDK)的安装:官方下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html第二步: 下载ADT-Bundle for Windows官方下载地址:ht...
分类:
移动开发 时间:
2014-09-09 15:34:58
阅读次数:
295
第一步:定义所需的字符string.xml<?xmlversion="1.0"encoding="utf-8"?><resources><stringname="app_name">Calculator</string><stringname="action_settings">Settings</string><stringname="hello_world">Helloworld!</strin..
分类:
移动开发 时间:
2014-09-09 13:47:29
阅读次数:
406