QT笔记80:使用QSignalMapper
QSignalMapper* mapper = new QSignalMapper(this); for(int i=0;i<4;i++) { QRadioButton* button = new QRadioButton(); if(i == 0) button->setChecked(true);...
View ArticleVisual Studio下的proto文件高亮插件
推荐一个适用于Visual Studio2013/11的Google protobuf的proto文件高亮插件, 上图 虽然没有Eclipse插件的自动生成序号功能, 但已经很漂亮了, 还自带有protobuf关键字提醒, 很不错地址:...
View Article[ASM] 多种数制显示的汇编语言编程实现
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txtorg 100h; add your code here mov ax, cs mov ds, ax mov ss, ax...
View ArticleOpenCASCADE6.8.0 Reference Manual Serach Problem
OpenCASCADE6.8.0 Reference Manual Serach Problem eryar@163.com 1. Problem 有网友反映OpenCASCADE6.8.0的Reference Manual的搜索功能不好用,以前没注意,自己试了下,的确在本机上不能正确搜索出给出的关键字相关的内容。如下图所示,在搜索框中输入gp_Pnt: Figure 1. Search class...
View Articlecocos2d-x3.0奇怪的,listview移植到Android出现的白屏问题
说明:此问题只出现在cocos2d-x 3.0和3.1.0版本上,3.1.1已经将此bug修复 不知为何,看了代码,appActivity.jave 继承了Cocos2dxActivity.java在OnCreatView()函数中,新创建了一个view,在init中新创建的view调用了...
View Article[ASM] 显示一个数字的二进制
org 100h; add your code here mov ax, cs mov ds, ax mov ax, 0xb800 mov es, ax xor ax, ax xor bx, bx xor dx, dx mov al, 0xff mov cx, 0x0008 s: xor dx,...
View Article【邢波】机器学习需多元探索,中国尚缺原创引领精神
http://mp.weixin.qq.com/s?__biz=MzA4MjE5NjAzMg==&mid=202277145&idx=1&sn=45e0b167916596add40b0c34b712ae22&3rd=MzA3MDU4NTYzMw==&scene=6#rd...
View Article[ASM] 显示一个数字的十六进制
org 100h; add your code here mov ax, cs mov ds, ax mov ax, 0xb800 mov es, ax xor ax, ax xor bx, bx xor dx, dx mov dl, 0x2f mov al, dl shr al, 4 add al, 0x30...
View Article[ASM] 显示一个数字的十进制
org 100h; add your code here mov ax, cs mov ds, ax mov ax, 0xb800 mov es, ax xor ax, ax xor bx, bx xor cx, cx xor dx, dx mov ax, 0x105e ;除数 mov bx, 10 ;被除数s:...
View Article[ASM] 显示一个数字的二进制、八进制、十进制、十六进制(带过程调用)
; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txtorg 100h; add your code here mov ax, cs mov ds, ax mov ss, ax mov...
View Article在每一行下面都插入一行类似内容
情景: 有个txt 要改为1 Name_01=xxx Name_01=xxx2 Name_02=yyy Type_01=13 Name_02=yyy4 Name_99=zzz Type_02=15...
View Article加大伯克利分校著名科学家:大数据的“冬天”即将到来
http://mp.weixin.qq.com/s?__biz=MjM5NzM5ODQ4Mg==&mid=202369542&idx=1&sn=9fef36f14033872fda5f0ed2fe1b6a24&scene=2&from=timeline&isappinstalled=0#rd今年以来,“大数据技术”和“大数据分析”明显显得更加的“火热”...
View Article./lua/addtest.lua:9: attempt to index local 'testobj' (a userdata value)
摘要: 阅读全文S.l.e!ep.¢% 2014-12-18 10:31 发表评论
View Article应用UUID简化设计
应用UUID简化设计(金庆的专栏)UUID(Universally Unique Identifier) 保证每次生成的都是唯一的,不同机器生成UUID也能保证唯一。网游中使用UUID可以避免全局的ID分配,简化设计。例如角色ID使用UUID,...
View Article[转]Linux下g++编译C++连接oracle(OCCI)出现的问题及解决方式
由于项目原因,开始学习C++,刚接触半个多月,今天参考网上例子,写了个简单的C++连接ORACLE的DEMO,可是使用g++编译时不顺利,不是报这个错就是那个,最后参考网上的解决方式和个人理解,终于调试好了,现把编译中出现的问题和解决方法总结出来。 源代码 C++代码#include <iostream> #include <string> #include...
View Article[ASM] 二进制数用十六进制显示
org 100h; add your code here mov ax, cs mov ds, ax mov ss, ax mov ax, 0x0000 mov bx, 0x106f mov ch, 0x04 rotate: mov cl, 0x04 rol bx, cl mov al, bl and al, 0x0f...
View Article