ruby学习之一(安装、第一个小程序“hello, world”)...
分类:
其他好文 时间:
2014-12-15 15:33:07
阅读次数:
214
万维网WWW(World Wide Web)并非某种特殊的计算机网络,万维网是一个个大规模的、联机式的信息储藏所,英文简称Web。万维网使用链接的方式能非常方便地从英特网上的一个站点访问到一个站点,从而获取丰富的信息。知识盲区:在不少人看来,互联网、因特网、万维网没有大多的区别,其实这三者之间的关系...
分类:
其他好文 时间:
2014-12-15 15:15:43
阅读次数:
221
跳转语句:break例:for(int i=0;;i++) //无判断条件,即永远满足条件,无限循环{console.writeline("hello world!");if(i==9){break; //i=9时跳出循环}continue:if (i==2){continue; //结束conti...
分类:
其他好文 时间:
2014-12-15 08:55:13
阅读次数:
152
extern crate libc; use libc::c_int; enum Hello{ Req = 1i, Pub = 2i, } impl Hello{ fn to_raw(&self) -> c_int{ *self as c_int } } fn main() { println!("Hello, world!") println!("{}", Hello::Pub.to_ra...
分类:
其他好文 时间:
2014-12-14 22:51:03
阅读次数:
378
一、回顾
让我们回顾一下,在上几章里都讲了什么?总结如下:
《柯南君:看大数据时代下的IT架构(1)业界消息队列对比》
《柯南君:看大数据时代下的IT架构(2)消息队列之RabbitMQ-基础概念详细介绍》
《柯南君:看大数据时代下的IT架构(3)消息队列之RabbitMQ-安装、配置与监控》
二、起航
本章节,柯南君将从几个层面,用官网例子讲解一下RabbitMQ的实操经典程序案例,让大家重新回到经典“Hello world!”(The simplest thing that do...
分类:
其他好文 时间:
2014-12-14 20:05:20
阅读次数:
203
跳转语句:break例:for(int i=0;;i++) //无判断条件,即永远满足条件,无限循环{console.writeline("hello world!");if(i==9){break; //i=9时跳出循环}continue:if (i==2){continue; //结束conti...
分类:
其他好文 时间:
2014-12-14 15:48:01
阅读次数:
194
这是我的第一篇文章!开个玩笑~~“你知道回字的四种写法吗”?printf("Hello,world!");cout<<"Hello,world!";print 'Hello,world!';print_r("Hello,world!");System.out.print("Hello,world!"...
分类:
其他好文 时间:
2014-12-14 14:36:12
阅读次数:
183
执行代码console.log('hello world');2、回调函数由于node是一个异步事件驱动的平台,所以在代码中我们经常需要使用回调函数。下面是回调函数应用的经典示例:setTimeout(function(){ console.log('callback is called');...
分类:
Web程序 时间:
2014-12-14 00:39:01
阅读次数:
339
安装方法见官方文档http://groovy.codehaus.org/Installing+Groovy用新一个文件HelloWorld.groovy,以utf8的编码保存,内容为:println("Hello World")println("中华人民共和国")在命令行中运行groovy -c u...
分类:
其他好文 时间:
2014-12-13 21:45:19
阅读次数:
207
Problem Description
Zty is a man that always full of enthusiasm. He wants to solve every kind of difficulty ACM problem in the world. And he has a habit that he does not like to solve
a problem th...
分类:
其他好文 时间:
2014-12-13 15:11:40
阅读次数:
227