码迷,mamicode.com
首页 >  
搜索关键字:hello_world    ( 6534个结果
node.js--概念、安装以及hello world
什么是node.js?node.js是运行在服务器端的javascript。通常来说,javascript是运行在浏览器环境的,但是编码大牛们把chrome的引擎GoogleV8引擎进行了封装,使其在服务器端也能运行起来,这就是node.js。node.js有什么特点,为什么要使用它?对于node....
分类:Web程序   时间:2014-09-18 18:25:24    阅读次数:209
jQuery 属性操作 - val() 方法
实例 设置输入域的值: $("button").click(function(){ ??$(":text").val("Hello?World"); }); 亲自试一试 定义和用法 val() 方法返回或设置被选元素的值。 元素的值是通过 value 属性设置的。该方法大多用于 ...
分类:Web程序   时间:2014-09-18 14:58:14    阅读次数:1047
C++string 到char*的转换
1.datastring str="hellow world";char *p =const_cast(str.data());2. c_strstring str="hello world";char *p=const_cast(str.c_str());3. str.copy()string s...
分类:编程语言   时间:2014-09-18 14:45:34    阅读次数:169
初学cmd编译运行Java文件,部分路径要区分大小写
①准备工作首先用记事本编写HelloWorld.java放至G:\Javaspace路径public class HelloWorld{public static void main(String []args){System.out.println("Hello World");}}因为我要编译的...
分类:编程语言   时间:2014-09-18 14:32:13    阅读次数:457
VC6.0创建hello-World程序
最近在看《数据结构》,想用C语言写个算法,想到了用VC6.0,本科期间,对C语言这门课是很自豪的,无奈时间长没 碰,一个helloWorld都写不成了。看来语言和IDE都是要经常去碰的,否则真的会生疏,闲话少叙,下面开始用VC6.0建 一个helloWorld程序。 1打开vc6.0,文件——新建 2 建立工程文件,输入工程名称,选择建立一个空工程,点击确定 3 建立源文...
分类:其他好文   时间:2014-09-18 11:28:23    阅读次数:358
Bottle python
1. hello worldimport bottle@bottle.route('/')def home_page(): return "hello world\n"@bottle.route('/testpage')def test_page(): return "this is a...
分类:编程语言   时间:2014-09-18 09:43:33    阅读次数:214
标签-列表
列表标签: 确定列表的范围 上层项目 下层项目代码举例: this is my first website hello world! hello everyone! ...
分类:其他好文   时间:2014-09-18 00:43:52    阅读次数:206
web.py简易示例
code.pyimport weburls = ( '/', 'index')class index: def GET(self): return "Hello, world,caixianfeng write for the first web.py!"if __name...
分类:Web程序   时间:2014-09-18 00:35:33    阅读次数:355
纯CSS的jQuery的气泡提示组件
1. [代码][JavaScript]代码 //调用说明//$(selector).bub($(selector) | string[, options]);//示例: $('#demo1').bub('hello, world!');//options 说明//defaults: {// co.....
分类:Web程序   时间:2014-09-17 18:17:52    阅读次数:256
javascript的String类型
String类型是一个包装类型,在javascript中有三种包装类型,Boolean,Number,String三种,可以这样来构建String var str=new String("hello world!"); String类型的每个实例都有一个Length属性,意思是字符串包含多少个字符 1.字符方法 charAt()和charCodeAt(): 1.1 charAt()以单字...
分类:编程语言   时间:2014-09-17 10:24:02    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!