- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
cbuildervcl库函数(类型转换)(cbuildervcl库函数(类型转换))
c++ builder vcl库函数(类型转换)(c + + builder vcl库函数 (类型转换)) C++ Builder VCL库函数简介 2002-07-05····C++ Builder资源中心 1 2 3下一页 一。Borland C++ Builder VCL的内存管理函数 1。allocmem 在队中分配指定字节的内存块,并将分配的每一个字节初始化为函数原型如下0: void * __fastcall allocmem(基本尺寸); 2。sysfreemem 释放所指定的内存块。函数原型如下: 国际__fastcall sysfreemem(void * P); 三.sysreallocmem 要求重新分配参数所指定的内存函数原型如下大小: void * __fastcall sysreallocmem(void * P,int的大小); 二。Borland C++ Builder VCL的文件操作函数 1。打开文件 打开指定的文件,如果返回为正数,表示操作成功,返回值为文件句柄:如果返回值为- 1,表示操作失败,函数原型如下: __fastcall(const int文件系统:文件名:AnsiString,中断方式); 2。创建文件 以指定的文件名称创建一个新的文件,如果返回为正数,表示操作成功,返回值为文件句柄,如果返回值为- 1,表示操作失败。函数原型如下: __fastcall(const int创建文件系统:文件名:AnsiString); 三.些 从文件中读取指定字节的数据到缓冲区中,函数返回实际读取的字节数,函数原型如下; 国际__fastcall些(int处理,无效的缓冲,int数); 4。写入文件 将缓冲区的数据写入到指定的文件的当前位置中去如果操作成功,函数返回实际写入的字节数,如果返回为- 1,则表示操作产生错误,函数原型如下: 国际__fastcall写文件(int处理,const void *缓冲数组的个数); 5。文件内容查找 调整文件指针到新的位置,如果操作成功,则返回新的文件位置,如果操作失败,则函数返回- 1,函数原型如下: 国际__fastcall文件内容查找(int处理,int offset,int的起源); 6。关闭文件 关闭指定的文件,函数原型如下: 无效__fastcall FileClose(int处理); 7。fileage 返回指定文件的时间标签,如果操作失败,则返回- 1,函数原型如下: fileage(const int __fastcall系统::AnsiString文件名); 8。否存在 用于测试指定的文件是否存在,如果存在返回真,否则返回假,函数原型如下: 布尔__fastcall FileExists(const系统::AnsiString文件名); 9。 FileGetDate Returns the DOS time label of the specified file. If the operation fails, it returns to -1, and the function prototype is as follows: Int __fastcall FileGetDate (int Handle); 10.FileSetDate Change the DOS time label of the specified file. If the operation succeeds, return 0. Otherwise, the error code is returned. The function prototype is as follows: Int, __fastcall, FileSetDate (int, Handle, int, Age); 11.FileGetAttr Returns the property of the specified file. If the operation fails, the function returns -1, and the function prototype is as follows; Int __fastcall FileGetAttr (const System:: AnsiString, FileName); 12.FileSetAttr Change the property parameters of the specified file. If the operation succeeds, return 0. The function prototype is as follows; Int __fastcall FileSetAttr (con
您可能关注的文档
- fpga ddr2读写控制器时序代码(FPGA DDR2 read and write controller timing code).doc
- fp机械轴承hhe(FP mechanical bearing HHE).doc
- from 天涯 今天在食堂遇到了高手...(From Tianya meets a superior in the cafeteria today...).doc
- frontpage网页制作作业题目(Frontpage web page production exercises).doc
- frontpage 新增14道题(Frontpage added 14 questions).doc
- fttb+lan宽带小区的几种布线设计方法(Several routing design methods for fttb+lan broadband cell).doc
- frountpage(frountpage).doc
- ft社评普京的赌博(FT editorial Putin gamble).doc
- freeglut安装(freeglut安装).doc
- fttblan宽带小区的几种布线设计方法(Several routing design methods for fttblan broadband cell).doc
- c++编写潮流上机程序(C++ writing flow program).doc
- c++读取文件(C++ reads the file).doc
- cad2004快捷键(CAD2004 shortcut key).doc
- cad制造特效字体(CAD makes special effects fonts).doc
- cad必看安装说明(CAD must see the installation instructions).doc
- cad自学网笔记(CAD self-study network notes).doc
- cad牛人的经验(CAD's experience).doc
- cad设置样板的步骤(CAD steps for setting templates).doc
- can-bus控制器局域网络总线技术,汽车光纤代替普通金属导线(CAN-bus controller, local area network bus technology, automobile optical fiber instead of ordinary metal wire).doc
- can、i2s、i2c、spi、ssp总线简介(Brief introduction of can, I2S, I2C, SPI and SSP bus).doc
有哪些信誉好的足球投注网站
文档评论(0)