2019年9月7日

Delphi : TStringList的Find,IndexOf和Sort

摘要: 关键:Find要事先Sort排序,Indexof不用排序。 TStringList内部查找相关的数据。待调试代码时才知道痛苦,浪费无数时间后,只得一步步跟踪,才发 现Find方法返回的Index总是错误的,当时一阵郁闷,随手按下F1键,Find的Help文档展现眼前,对于该 函数是这样描述的:Loc 阅读全文

posted @ 2019-09-07 18:06 癫狂编程 阅读(4862) 评论(0) 推荐(0)

GetTickCount() 函数的作用和用法

摘要: DWORD GetTickCount(void); 1) 定义 For Release configurations, this function returns the number of milliseconds since the device booted, excluding any ti 阅读全文

posted @ 2019-09-07 08:09 癫狂编程 阅读(4115) 评论(0) 推荐(0)

导航

好的代码像粥一样,都是用时间熬出来的