最近在学习qt网络编程,基于tcp和udp协议。 看了一些别人的程序和qt4自带的例子,困扰我最大的问题就是获取ip的类,总结起来还挺多的。 主要介绍常用的QtNetwork Module中的QHostInfo,QHostAddress,QNetworkInterface和QNetAddressEn Read More
posted @ 2016-08-09 23:26 findumars Views(2951) Comments(0) Diggs(0)
You use composite reports for this(TQrCompositeReport) on the quickreports tabTake a look in the Demos\QuickRep\QR3 project with QRCompositeReport1.Re Read More
posted @ 2016-08-09 21:17 findumars Views(1259) Comments(0) Diggs(0)
dddd Read More
posted @ 2016-08-08 22:42 findumars Views(205) Comments(0) Diggs(0)
首先学习: 指向非对象(一般的)函数/过程的函数指针 Pascal 中的过程类型与C语言中的函数指针相似,为了统一说法,以下称函数指针。函数指针的声明只需要参数列表;如果是函数,再加个返回值。例如声明一个过程类型,该类型带一个通过引用传递的整型参数: type IntProc = procedure Read More
posted @ 2016-08-08 21:19 findumars Views(2522) Comments(0) Diggs(0)
这点是与C语言不一样的地方,以前我一直都没有明白这一点,所以总是不明白:函数地址再取地址算怎么回事? 在学习Delphi的时候,一个很好的建议是和C/C++去类比着学习,从指针,到内存管理,到数组,到面向对象……各个方面,都是有很多可以相似和或者也有不同的方,类比着学习,一方面加深对Delphi的理 Read More
posted @ 2016-08-08 20:16 findumars Views(3664) Comments(0) Diggs(0)