码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
EDIT Ini写Ini配置
EDIT Ini写Ini配置 usesIniFiles; {$R*.dfm} function IniFileName:string; begin Result:=ExtractFilePath(Application.ExeName)+'Settings.ini'; end; procedureS...
分类:其他好文   时间:2014-07-29 21:17:14    阅读次数:233
反转字符串
function ReverseString(s: string): string;var i: integer; s1:string;begin s1 := ''; for i := 1 to Length(s) do s1 := s[i] + s1; Result:=s1;end;procedu...
分类:其他好文   时间:2014-07-29 21:05:32    阅读次数:197
php细节1可变变量及一些细节
可变变量的样例 1 $bar . "\n";12 echo $foo->$baz[1] . "\n";13 14 $start = 'b';15 $end = 'ar';16 echo $foo->{$start . $end} . "\n";17 18 $arr = 'arr';19 echo.....
分类:Web程序   时间:2014-07-29 21:00:22    阅读次数:182
时间转换
procedure TForm1.FormCreate(Sender: TObject);beginedtHour.Clear;edtMinutes.Clear;edtHs.Clear;edtSec.Clear;end;procedure TForm1.Button1Click(Sender: TO...
分类:其他好文   时间:2014-07-29 20:37:52    阅读次数:184
C++MFC编程笔记day02 MFC消息映射机制、菜单资源使用
机制3:MFC消息映射机制: 类内声明,类外定义宏,绑定消息处理函数 派生自CCmdTarget 类内声明宏:DECLARE_MESSAGE_MAP() 类外添加实现宏: BEGIN_MESSAGE_MAP(类名,父类名) END_MESSAGE_MAP() //数据结构 struct AFX_MSGMAP_ENTRY { UINT nMessage;   // 消息ID U...
分类:编程语言   时间:2014-07-29 17:55:42    阅读次数:309
php获取文件名
php获取文件名$phpself =$_SERVER['PHP_SELF']; //获取当前文件名$str = end(explode("/",$phpself)); //去掉'/'echo $str.""; //输出文件全名echo substr($str,0,strrpos($str, '...
分类:Web程序   时间:2014-07-29 17:14:22    阅读次数:225
esql开发总结
1 定义或者声明方法 int method(char *arg1,char* arg2...);   实现方法 int method(char *arg1,char* arg2...)     EXEC SQL BEGIN DECLARE SECTION;         char *arg1;         char* arg2;    EXEC SQL END DECLARE ...
分类:数据库   时间:2014-07-29 14:52:28    阅读次数:247
length() size()
1. length() size()都是表示 字符串 中的元素数, 等于begin()到end()之间的距离.length()是考虑到传统C函数 strlen而对应设置的,而size()是考虑到string作为一个STL容器2. length() sizeof()sizeof可以计算一个 类型 .....
分类:其他好文   时间:2014-07-29 14:03:18    阅读次数:231
下划线按钮
#import @interface CXUnderLineButton : UIButton+ (CXUnderLineButton *) underlinedButton;@end#import "CXUnderLineButton.h"@implementation CXUnderLineBu...
分类:其他好文   时间:2014-07-29 12:43:06    阅读次数:214
UVM基础之------uvm_port_base
Port Base Classes uvm_port_component_base This class defines an interface for obtaining a port’s connectivity lists after or during the end_of_elabora...
分类:其他好文   时间:2014-07-29 11:41:26    阅读次数:485
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!