这两个函数 function app_path1:string function socket_rec_line1(socket1:TCustomWinSocket timeout1:integer crlf1:string=#13#10):string 实际上是我的一个公用单元中的函数,大家应该养成建立自己的公用单元的习惯。 socket_rec_line1函数中用了唐晓峰大侠的coolmail中的办法:只是简单的一个一个字节收取,找到结束 标志后就算收完一行了,大家实际应用时可能应该找更好的办法。
标签: function TCustomWinSocket socket_rec_line app_path
上传时间: 2014-11-28
上传用户:coeus
Stdstring类,功能类似于Cstring确实std::string实现.
标签: Stdstring Cstring string std
上传时间: 2017-05-19
上传用户:gmh1314
string reversal. it reverses the given string.
标签: reversal reverses string string
上传时间: 2014-05-30
上传用户:zhaoq123
public class DBClass { private string driver private string url private string username private string password private Connection connection private Statement statement private string message="" }
标签: private string DBClass public
上传时间: 2017-05-23
上传用户:c12228
public class month1{ public static void main(string [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上传时间: 2014-08-26
上传用户:chenbhdt
public class guestbook{ string sDBDriver = "sun.jdbc.odbc.JdbcOdbcDriver" string sConnStr = "jdbc:odbc:guestbook" Connection conn = null ResultSet rs = null
标签: string JdbcOdbcDriver guestbook sDBDriver
上传时间: 2017-05-23
上传用户:qiaoyue
* 使用DES加密与解密,可对byte[],string类型进行加密与解密 密文可使用string,byte[]存储. * * 方法: void getKey(string strKey)从strKey的字条生成一个Key * * string getEncstring(string strMing)对strMing进行加密,返回string密文 string * getDesstring(string strMi)对strMin进行解密,返回string明文 * *byte[] getEncCode(byte[] byteS)byte[]型的加密 byte[] getDesCode(byte[] * byteD)byte[]型的解密
上传时间: 2014-01-13
上传用户:libinxny
string hanlding library. Functions for crypto, token etc
标签: Functions hanlding library string
上传时间: 2017-05-25
上传用户:D&L37
Operasi dengan string
上传时间: 2017-05-28
上传用户:13517191407
识别子串 模式匹配 KMP算法 输入两个string
上传时间: 2017-05-30
上传用户:as275944189