- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 求某个非常大的数的递加的结果,最佳算法
//利用高斯算法。将第i个数加上第(n-i)个数。//高斯算法double funcGS(double n){// GetTime(&t); double sum=0,i; if (n return n; for(i=1; i { sum += (i + (n-i))
2008-03-04 17:47:00
632
原创 PB调用API函数来查找文件
PB语法:结构体定义:global type win32_find_data from structure unsignedlong dwFileAttributes unsignedlong ftCreationTime unsignedlong ftLastAccessTime unsignedlong ftLastWriteTime unsignedl
2008-01-17 18:11:00
3005
原创 Delphi调用WinSock和API来取MAC地址
1,首先申明API函数如下:Function GetIpMacStr(IpAdr:PCHAR):PCHAR;stdcall;Function sendarp(ipaddr:ulong;temp:dword;ulmacaddr:pointer;ulmacaddrleng:pointer) : DWord; StdCall; External Iphlpapi.dll Name SendAR
2008-01-17 17:58:00
970
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人