05 2018 档案
从字符串中取数字(1-99) 不用正则表达式
摘要:// dwd.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include int get_XYMN_Value(char * buf,int &offset) { unsigned short len=strlen(buf); int a=0,b=0; ...
阅读全文
BCB6.0 清除TPanel面板上的所有控件
摘要:方法一: panel->ComponentCount属性获得panel所拥有的控件个数 panel->Components[i]属性获得某一个控件 delete panel->Components[i]; 删除此控件 说明,方法一适用于可编辑界面编辑的控件 方法二: 先保存panel组件的Top 、
阅读全文
BCB Access violateion at Address 0000 0003. Read of address 0000 0003
摘要:来自网页:(我的电脑做不到) 运行一个程序,莫名出现一个对话框:access violation at address 0000.. read of address000试了几次问题依旧,网上搜了下解决办法:原文:baidu+google,搜个底朝天,无解,继续郁闷。最后在一位大侠的BLOG上看到右
阅读全文
C++Builder6.0 新建和打开项目软件死机
摘要:大清早上班打开C++Builder6.0软件,打开项目却卡死,甚是奇怪,然后尝试新建项目也同样卡死。尝试打开一个CPP文件,可以打开,再尝试打开项目.bpr文件,便打开了。至于原因为什么,那就不得而知咯。2018.5.3
阅读全文