摘要: 1,字符类型char: 一个字节。 用来存储小范围的整数(-128~127),和“字符”(所有ASCII字符,128个)。 char a = 97; char b ='a'; //‘a'字符常量 2,整数类型: 4个字节. 用来存储整数,范围:2的-31次方~2的31次方-1 3,长整形long: 阅读全文
posted @ 2018-05-08 15:50 cindy_zl 阅读(755) 评论(0) 推荐(0) 编辑
摘要: Spark学习之路-1 阅读全文
posted @ 2018-05-04 00:46 cindy_zl 阅读(120) 评论(0) 推荐(0) 编辑
摘要: C程序的编译过程 阅读全文
posted @ 2018-05-03 20:41 cindy_zl 阅读(159) 评论(0) 推荐(0) 编辑
摘要: python列表推导式 特点:语言简单,速度快等优点!!! 1,取出名字长度大于3的人 >>> names=['java','scala','python','hadoop','c','c++']>>> names['java', 'scala', 'python', 'hadoop', 'c', 阅读全文
posted @ 2018-05-02 15:27 cindy_zl 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 判断一个对象是迭代对象: 方法是用collections 模块的Iterable类型判断 >>> from collectoins import Iterable >>>isinstance('abc',Iterable) #str是否可迭代 >>>isinstance([1,2,3],Iterab 阅读全文
posted @ 2018-05-02 12:15 cindy_zl 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1 用的是ADODB,所以在StdAfx.h文件里面的 #include <afxwin.h> 后面加这句话 2 #import "C:\program files\common files\System\ado\msado15.dll" no_namespace \ 3 rename("EOF", 阅读全文
posted @ 2018-05-01 00:19 cindy_zl 阅读(793) 评论(0) 推荐(0) 编辑
摘要: 1,ubuntu下g++的安装 安装g++编译器的命令: sudo apt-get install build-essential 执行完后,就完成了gcc,g++,make的安装。build-essential是一整套工具,gcc,libc等等。 通过“g++ -v”可以查看g++是否安装成功。 阅读全文
posted @ 2018-04-30 23:59 cindy_zl 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 解除root锁定,为root用户设置密码。 打开终端输入:sudo passwdPassword: < 输入你当前用户的密码Enter new UNIX password: < 新的Root用户密码Retype new UNIX password: < 重复新的Root用户密码passwd:已成功更 阅读全文
posted @ 2018-03-17 23:50 cindy_zl 阅读(194) 评论(0) 推荐(0) 编辑
摘要: scala读取parquet文件 阅读全文
posted @ 2017-11-14 12:06 cindy_zl 阅读(4796) 评论(0) 推荐(0) 编辑
摘要: scala 用jdbc连接Oracle 阅读全文
posted @ 2017-11-14 12:00 cindy_zl 阅读(3405) 评论(0) 推荐(0) 编辑