做android开发的时候eclipse的console一直出现这个问题,有时候是启动eclipse后就出现这个问题,有时候是运行android程序的时候出现的,重启avd和重启eclipse都不行。后面在网上找到了解决办法。先说原因嘛,这是ddms调用adb引发的. 经过一番搜索, 发现这是win...
分类:
数据库 时间:
2014-10-09 14:06:23
阅读次数:
163
一、定义和使用函数。 直接通过例子进行说明吧 class Program { static void Write() { Console.WriteLine("Test output from function"); } static void Main(string[] ar...
分类:
其他好文 时间:
2014-10-09 13:58:13
阅读次数:
193
1 // section_6.cpp : Defines the entry point for the console application. 2 //范磊C++ 第6章 面向对象 3 4 #include "stdafx.h" 5 #include "iostream" 6 ...
分类:
编程语言 时间:
2014-10-09 00:54:37
阅读次数:
292
通过一下方式找到错误的原因,开启hadoop的调试信息[root@yts bin]# export HADOOP_ROOT_LOGGER=DEBUG,console这样在执行命令时,可以通过error字样定位执行命令时产生错误的原因[root@yts bin]# ./hadoop fs -mkdir...
分类:
其他好文 时间:
2014-10-08 16:05:45
阅读次数:
485
通过中间代码窥探try-catch-finally本质:
class Program
{
static void Main(string[] args)
{
Program p = new Program();
Console.WriteLine(p.Test1());
//Conso...
分类:
其他好文 时间:
2014-10-08 13:08:45
阅读次数:
129
1.变量在声明他们的函数体以及这个函数体嵌套的任意函数体内都是有定义的。eg:alert(tmp);vartmp=123;//未定义而不会报错2.作用域链的一个经典例子:name="lwy";functiont(){varname="tlwy";functions(){varname="slwy";console.log(name);}functionss(){console.log(name);}s..
分类:
Web程序 时间:
2014-10-08 00:34:45
阅读次数:
247
var isEven = function(n) { return !(n&1) // & 按位与}console.log(1, isEven(1))console.log(25, isEven(25))console.log(138, isEven(138))var isEven = fun...
分类:
其他好文 时间:
2014-10-07 23:52:54
阅读次数:
239
// 说明 Node API 版本为 v0.10.31。 中文参考:http://blog.sina.com.cn/oleoneoy本段为博主注解。目录●控制台 ○console.log([data], [...]) ○console.info([data], [...]) ○console.e.....
// 说明 Node API 版本为 v0.10.31。 中文参考:http://blog.sina.com.cn/oleoneoy本段为博主注解。目录●全局对象 ○global ○process ○console ○Class: Buffer ○require() ■require.resol.....