码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
What should I do about “302 Found” exceptions when downloading with Indy?
Set theTIdHTTP.HandleRedirectsproperty to True. It is False by default.function FetchUrl(const url: string): string; var idhttp : TIdHTTP; begin id...
分类:其他好文   时间:2014-06-12 14:53:09    阅读次数:286
C# 后台POST请求(winform)
//data:参数 URL:路径 public static string PostWebRequest(string Data, string URL) { CookieContainer cc = new CookieContainer(); string postData = Data;...
分类:Windows程序   时间:2014-06-12 14:51:40    阅读次数:418
C# 动态调用webservice
/// /// 动态调用web服务 /// /// WSDL服务地址 /// 类名 /// 方法名 /// 参数 /// public static object InvokeWebService(string url, string classname, string methodname...
分类:Web程序   时间:2014-06-12 14:37:29    阅读次数:229
_strdup和strdup还有string.h和string事
在MSVC中,_strdup(const char *p)函数的作用是返回一个指针,这个指针指向p的一个复制串。#includeint main(){ char str[]="this is a string"; char *dstring=strdup(str); std::co...
分类:其他好文   时间:2014-06-12 14:26:37    阅读次数:277
32位程序访问64位系统上的Windows注册表
今天在工作的过程中遇到个奇怪的为问题,就是通过c#获取注册表键值的问题,一般都比较简单: string SQLPath = string.Empty; RegistryKey hkml = Registry.LocalMachine; ...
分类:Windows程序   时间:2014-06-12 14:06:23    阅读次数:313
PHP正则表达式 - 基础
POSIX风格.at可以匹配cat sat mat #at点可以匹配任意字符[a-z]at[a-zA-Z]方括号中匹配一个集合类[^a-z]表示不属于该集合里的字符*表示可以被重复0次或更多次+表示可以被重复1次或更多次[[:alnum:]]+表示至少有一个字母字符()圆括号用于分割子表达式(ver...
分类:Web程序   时间:2014-06-12 14:02:18    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!