1.#error Directive (C/C++)The #error directive
emits a user-specified error message at compile time and then terminates the
compilation.#error toke...
分类:
编程语言 时间:
2014-06-11 08:34:39
阅读次数:
347
The paper "Optimal Decoding of Linear Codes for
Minimizing Symbol Error Rate", which is the source of the BCJR decoding
algorithm, is my current obje....
分类:
其他好文 时间:
2014-06-11 07:35:20
阅读次数:
250
publicobjectComputeExpression(stringexpression){varresult=newDataTable().Compute(expression,null);returnresult;}MessageBox.Show(ComputeExpression("(13...
分类:
其他好文 时间:
2014-06-10 00:03:29
阅读次数:
255
异步模型看起来很美,但其实它也是有天生缺陷的.看下面代码
try {
setTimeout( function(){
throw new Error( '你抓不到我的!' );
}, 100);
} catch (e) {
console.error(e);
}
如果你已经理解了上一篇博客,那你一定了解了这样的写法是捕...
分类:
编程语言 时间:
2014-06-08 14:54:17
阅读次数:
328
In this tutorial, we show you how to create a
simple “hello world”Androidproject inEclipse IDE + ADT plugin, and run it
withAndroid Virtual Device (AV...
分类:
移动开发 时间:
2014-06-08 06:43:46
阅读次数:
403
开发环境 : win7 32bit ,VS2010,先看一段C代码:#include int
main(){ int x; //-858993460 printf("%d",x); //弹出Debug Error对话框 //x=func1();
getchar(); r...
分类:
其他好文 时间:
2014-06-08 06:26:59
阅读次数:
321
最近在项目中遇到一个问题,在Flex中使用Alert.show("this is
content!", "title");发现对话框可以弹出来,但是文本始终不显示。why? 由此开始了我苦逼的排查之路。首先,可以排除没有引入包 import
mx.controls.Alert;的问题。如果没有引入包...
分类:
其他好文 时间:
2014-06-08 06:24:58
阅读次数:
216
php不打日志好久了,每次都nginx返回500
都依靠检测代码来发现问题,很累。网上也找了很多关注php打错误日志的。都没效果。偶然通过phpinfo()
发现这个。error_log/var/log/php-fpm/www-error.log/var/log/php-fpm/www-error....
分类:
Web程序 时间:
2014-06-07 22:58:57
阅读次数:
434
代理: 要为已经存在的多个具有相同接口的目标类的各个方法增加一些系统功能。
例如:异常处理,日志和计算方法的运行时间,事物管理等,怎么做 如 在运行前后增加计算时间的方法。show(){ sop(); }
编写一个与目标类具有相同接口的代理类,代理类的每个方法调用目标类的相同方法,并在调用方法时加上...
分类:
其他好文 时间:
2014-06-07 16:58:57
阅读次数:
273
win7 64位 专业版 + vs2010 从vc6.0下转过来的一个项目,突然遇到这个问题。
解决方案:
用C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7600.16385_none_ba476986f...
分类:
其他好文 时间:
2014-06-07 16:56:07
阅读次数:
241