04 2012 档案
摘要:1.关于常量引用正像在C语言中使用指针一样,C++中通常使用引用有一个函数...foo()并且这个函数返回一个引用......&foo()....,一个指向位图(Bitmap)的引用...Bitmap&foo()....并且这个位图(bitmap)是常量constBitmap&foo()当然你也可以用指针来做同样的事情:constBitmap*foo()foo返回一个指针...指向一个Bitmap...并有这个Bitmap是个常量.Bitmap*constfoo()foo返回某个东西,这个东西是常量...这个东西又是指针...一个指向Bitmap的指针.constBit
阅读全文
摘要:打开eWebEditor\include下面的editor.js文件(各版本不同,路径也会不同,点击搜索就能找到这个文件),有这样的段代码: if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); 改成:if(navigator.appVersion.match(/MSIE (7|8)\./i)!=null || navigator.appVersion.match(/MAXTHON/i)=='MAXTHON'){ if (element.YUSERONCLICK) eval
阅读全文
摘要:http://blog.csdn.net/keensword/article/details/401114写的很不错
阅读全文

浙公网安备 33010602011771号