摘要:
1. Python控制结构简介2. 定义函数<1>. Python控制结构1.1 ifprint("#############if statement###############");x = int(input("Enter an integer :"));if x < 0 : x = 0; print("Negative changed to zero .");elif x == 0 : print("Zero");elif x == 1 : print("Single") 阅读全文
posted @ 2011-04-22 21:20
qiang.xu
阅读(1334)
评论(0)
推荐(0)
摘要:
1. Hadoop简介2. Hadoop环境建立3. 参考资料<1>. Hadoop简介hadoop是apache的开源项目,开发的主要目的是为了构建可靠,可拓展scalable,分布式的系统,hadoop是一系列的子工程的总和,其中包含。1. hadoop common:为其他项目提供基础设施2. HDFS:分布式的文件系统3. MapReduce:A software framework for distributed processing of large data sets on compute clusters。一个简化分布式编程的框架。4. 其他工程包含:Avro(序列 阅读全文
posted @ 2011-04-22 20:07
qiang.xu
阅读(19173)
评论(2)
推荐(4)
摘要:
1. 还是这里开始Cppview plaincopy to clipboardprint?#include<iostream>//一个良好的编程习惯是将using直接跟在include之后usingnamespacestd;intmain(){intnumber1;intnumber2;intsum;cout<<"Enterthefirstnumber:";cin>>number1;cout<<"Enterthesecondnumber:";cin>>number2;sum=number1+nu 阅读全文
posted @ 2011-04-22 14:15
qiang.xu
阅读(415)
评论(0)
推荐(1)