'const' keyword is for creating a read only variable, something you can never change once created.'const' likes 'let' keyword alos has block scope.des...
分类:
其他好文 时间:
2015-04-29 07:10:13
阅读次数:
125
http://www.cnblogs.com/astwish/p/3460618.htmlGNU C的一大特色就是__attribute__机制。__attribute__可以设置函数属性(Function Attribute)、变量属性(Variable Attribute)和类型属性(Type ...
分类:
其他好文 时间:
2015-04-28 15:53:30
阅读次数:
207
启动eclipse的时候,会出现项目就会报错,有很多的红叉,src 和res文件都会有错误,光标放过去 报错:R cannot be resolved to a variable,但是之前是没有错误的!所以可以采取以下措施1重启eclipse;2重启机器;3看res文件下的布局文件哪个有错误,修正一...
分类:
系统相关 时间:
2015-04-28 14:00:15
阅读次数:
154
1、Get是用来从服务器上获得数据,而Post是用来向服务器上传递数据。 2、Get将表单中数据的按照variable=value的形式,添加到action所指向的URL后面,并且两者使用“?”连接,而各个变量之间使用“&”连接;Post是将表单中的数据放在form的数据体中,按照变量和值相对应的方...
分类:
移动开发 时间:
2015-04-27 19:50:29
阅读次数:
152
第一记
1、 简单的helloworld编写
Shell输入下输入命令:vi helloworld.sh
随后进入文本编辑:
#!/bin/shell
#this is ahelloworld test
a=”helloworld”
echo $a
执行helloworld.sh文件
命令:
# sh helloworld.sh
2、变量赋值的方式是
# variable_na...
分类:
系统相关 时间:
2015-04-27 18:32:28
阅读次数:
266
Hive 的简单使用及调优参考文档 HIVE的使用 命令行界面 使用一下命令查看hive的命令行页面, hive --help --service cli 简化命令为hive –h 会输出下面的这些东西 -d,--define Variable subsitution to apply to hiv...
分类:
其他好文 时间:
2015-04-25 01:36:31
阅读次数:
511
一、登录MySQL查看用SHOWVARIABLES LIKE ‘character%’;下字符集,显示如下:+--------------------------+----------------------------+| Variable_name | Value |+-------------...
分类:
数据库 时间:
2015-04-24 16:03:16
阅读次数:
161
[22]遇到query cannot be resolved to a variable错误,解决:1.Java里面定义的变量不能跟系统包里面的关键字相同(大小写不同也不行),系统包里面有个Query,把query改 2.变量在方法中是否被定义为局部变量,从而不能作为方法的返回值成其他名字即可[23...
分类:
其他好文 时间:
2015-04-23 19:52:38
阅读次数:
263
mysql> show variables like 'port';+---------------+-------+| Variable_name | Value |+---------------+-------+| port | 3306 |+---------------...
分类:
数据库 时间:
2015-04-23 13:02:02
阅读次数:
138
2015-03-06 328 Unusual Data Types ——You can carry this technique to extremes,putting all the variables in your program into one big,juicy variable an....
分类:
其他好文 时间:
2015-04-22 20:16:19
阅读次数:
183