-
DAC_sinewave_timer_int
8051 1Khz sine wave generator. make use of DAC0808 and timer 0 interrupt. Also single led is blinked continuously.
- 2011-12-12 13:19:08下载
- 积分:1
-
CarSig
是一个车牌识别程序,对开发车牌识别应用的程序员有借鉴作用。(A license plate recognition program, the development of license plate recognition application programmer reference.)
- 2014-03-03 23:09:58下载
- 积分:1
-
vtk读取txt地形文件
该资源用于可视化VTK,通过读取txt数据绘制地形图,
- 2023-01-20 18:35:04下载
- 积分:1
-
dcmread4
集成ITK、VTK、MFC读取DICOM的代码,建成win32程序即可。运行完美(Integrated ITK, VTK, MFC to read DICOM code, built win32 program can. Works perfect)
- 2021-02-19 16:29:44下载
- 积分:1
-
通过c#三层架构,面向对象和泛型集合开发出的一套影院售票系统改进了界面的美化...
通过c#三层架构,面向对象和泛型集合开发出的一套影院售票系统改进了界面的美化-Through the three-tier architecture c#, object-oriented collection and developed a generic set of cinema ticketing system to improve the interface of the landscaping
- 2022-06-03 17:10:54下载
- 积分:1
-
255105lesson10
这是我图形学课程的作业,利用OPENGL和VC++开发,画的是一个动态场景,有光照,阴影等效果,可旋转。(This is my operating graphics programs, use of OPENGL and VC++ development is a dynamic art scene, with light, shadows and other effects, may be rotating.)
- 2021-01-25 23:08:42下载
- 积分:1
-
884248_commLog
串口数据监控 串口打开关闭 串口通讯 串口收发数据(Serial Port Data Monitoring)
- 2020-06-25 00:00:02下载
- 积分:1
-
qt 快速读取excel实例代码
#Qt Windows 下快速读写Excel指南很多人搜如何读写excel都会看到用`QAxObject`来进行操作,很多人试了之后都会发现一个问题,就是慢,非常缓慢!因此很多人得出结论是`QAxObject`读写excel方法不可取,效率低。后来我曾试过用ODBC等数据库类型的接口进行读写,遇到中文嗝屁不说,超大的excel还是会读取速度慢。最后,看了一些开源的代码后发现,Windows下读取excel,还是用`QAxObject`最快!没错,就是用`QAxObject`读写最快!!!大家以后读取excel时(win下),不用考虑别的方法,用`QAxObject`就行,速度杠杠的,慢是你操作有误!下面就说说咋能提高其读取效率。#读取excel慢的原因这里不说如何打开或生成excel,着重说说如何快速读取excel。网上搜到用Qt操作excel的方法,读取都是使用类似下面这种方法进行:```C QVariant ExcelBase::read(int row, int col){ QVariant ret; if (this->sheet != NULL && ! this->sheet->isNull()) { QAxObject* range = this->sheet->querySubObject("Cells(int, int)", row, col); //ret = range->property("Value"); ret = range->dynamicCall("Value()"); delete range; } return ret;}```读取慢的根源就在于`sheet->querySubObject("Cells(int, int)", row, col)`试想有10000个单元就得调用10000次`querySubObject`,网络上90%的教程都没说这个`querySubObject`产生的`QAxObject*`最好进行手动删除,虽然在它的父级`QAxObject`会管理它的内存,但父级不析构,子对象也不会析构,若调用10000次,就会产生10000个`QAxObject`对象得益于[QT快速读取数据量很大的Excel文件](http://blog.csdn.net/a1069962325/article/details/49514377)此文,下面总结如何快速读写excel#快速读取excel文件原则是一次调用`querySubObject`把所有数据读取到内存中VBA中可以使用`UsedRange`把所有用到的单元格范围返回,并使用属性`Value`把这些单元格的所有值获取。这时,获取到的值是一个table,但Qt把它变为一个变量QVariant来储存,其实实际是一个`QList`,此时要操作里面的内容,需要把这个`QVariant`转换为`QList`先看看获取整个单元格的函数示意(这里ExcelBase是一个读写excel的类封装):```C QVariant ExcelBase::readAll(){ QVariant var; if (this->sheet != NULL && ! this->sheet->isNull()) { QAxObject *usedRange = this->sheet->querySubObject("UsedRange"); if(NULL == usedRange || usedRange->isNull()) { return var; } var = usedRange->dynamicCall("Value"); delete usedRange; } return var;}```
- 2020-05-28下载
- 积分:1
-
nokia_5110
关于nokia5110的使用程序,本人在实验室亲自做的,保证正确!(Nokia5110 use the program in the laboratory, I personally do to ensure that correct!)
- 2013-04-17 16:02:02下载
- 积分:1
-
remember
很好很实用的信号处理程序。适合学习和科研参考使用。(Very good very useful signal processing. Suitable for learning and scientific research use and reference.)
- 2008-06-25 11:27:08下载
- 积分:1