Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - fopen
Search - fopen - List
DL : 0
《使用 <fstream> 类进行文件的 I/O 处理》 传统的文件 I/O 库如 Unix 的 <io.h> 和 <stdio.h> ,由于其程序接口的原因,在很大程度上强制程序员进行某些处理,缺乏类型安全和国际化支持。C++ 的 <fstream> 库则在文件的 I/O 方面提供了一个增强的、面向对象的、具有国际化意识的库。该程序介绍如何使用这个库进行文件的 I/O 处理并利用它来编写易于跨平台的代码。 大多数 C++ 程序员都熟悉不止一个文件 I/O 库。首先是传统的 Unix 风格的库,它由一些低级函数如 read() 和 open()组成。其次是 ANSI C 的 <stdio.h> 库,它包含 fopen() 和 fread()等函数。其它的还有一些具备所有权的库或框架,比如 MFC,它有很多自己的文件处理类。   这些库一般都很难跨平台使用。更糟的是,上述提到的 C 库由于其程序接口的原因,在很大程度上强制程序员进行某些处理,而且缺乏类型安全支持。   标准 C++ 提供提供了一个增强的、面向对象的、具有国际化意识的 <fstream> 库。这个库包含一系列派生于标准 ios_base 和 ios 类的类模板。因此, <fstream> 提供了高级的自动控制机制和健壮性。-"use
Update : 2008-10-13 Size : 919417 Publisher : wwwwppp

本程序是一个多线呈的TCP通讯 服务器程序 本程序的特点在于 很灵活的运用的select函数进行异步非阻塞套节字 程序是通过此套节子发送文件,文件类型也很新颖,是编码过后的264文件,鉴于上传文件的大小,我没有附加264文件,可以相应的考如些264文件,并在fopen改文件名-this program is a multi-line communications was the TCP server this program features is the flexible use of the s elect function for non-blocking asynchronous character sets section of this procedure is adopted son of this section sets of documents, document type is also very innovative, after the code is 264 documents, in view of the size of the file upload, I have no additional 264 documents, can the corresponding test as some 264 documents and fopen file name changed!
Update : 2008-10-13 Size : 172579 Publisher : 黄越

功能介绍: 1、支持文章内容分页采集; 2、支持UTF-8转换到GB2312,可采集内容字符格式为UTF-8的目标; 3、支持把文章内容保存到本地; 4、支持站点+栏目管理方式,使采集管理一目了然; 5、支持文章链接替换功能; 6、支持采集器设置无限过滤功能; 7、支持文章内图片采集保存到本地,自动替换文件名避免重复; 8、支持文章内FLASH文件采集保存到本地; 9、支持限制PHP FOPEN函数功能的虚拟主机; 10、支持采集结果人工筛选,并提供“空标题、空内容”的快速过滤删除; 11、支持全站配置规则导入、导出; 12、支持栏目配置规则导入、导出,提供规则复制功能简化设置; 13、提供导库规则导入、导出; 14、支持CMS导库,程序包内含PHPCMS、DedeCms(织梦) V2/V3、PHP168 CMS、mephpcms系统导库规则及操作指南说明; 15、支持PHPWIND、Discuz论坛导库,程序包内含2大论坛导库规则及操作指南说明; 16、支持自定义入库间隔时间,躲避虚拟主机并发数限制。-functional presentations : one, to support the article Paging acquisition; Two support UTF-8 conversion to GB2312, characters can collect content format for UTF-8; 3, supports the article to your local; 4. support columns + site management, acquisition management transparent; 5, to support the article link replace function; 6. supports unlimited collector installed filtering; 7, the article to support the preservation of photographs collected locally, automatic File Name Replacement avoid duplication; 8, support the article FLASH document acquisition of the local preservation; 9. in support PHP Function FOPEN virtual host; 10, the results support the acquisition of artificial selection, and to provide "air heading, air content" of rapid filtration deleted; 11, support the station
Update : 2008-10-13 Size : 1822870 Publisher : 邓婷婷

这个程序是用fopen打开文件并用socket传输文件的程序,真正的可以跨平台,运行时请注意文件中的源文件的文件名及路径是否正确,需在main函数中改下参数就ok-This procedure is used to open files and fopen socket to transfer files using the procedure, truly cross-platform, run-time requests to document the source file name and path is correct, need to change main function parameters on the next ok
Update : 2008-10-13 Size : 28305 Publisher : 刘亮

功能介绍: 1、支持文章内容分页采集; 2、支持UTF-8转换到GB2312,可采集内容字符格式为UTF-8的目标; 3、支持把文章内容保存到本地; 4、支持站点+栏目管理方式,使采集管理一目了然; 5、支持文章链接替换功能; 6、支持采集器设置无限过滤功能; 7、支持文章内图片采集保存到本地,自动替换文件名避免重复; 8、支持文章内FLASH文件采集保存到本地; 9、支持限制PHP FOPEN函数功能的虚拟主机; 10、支持采集结果人工筛选,并提供“空标题、空内容”的快速过滤删除; 11、支持全站配置规则导入、导出; 12、支持栏目配置规则导入、导出,提供规则复制功能简化设置; 13、提供导库规则导入、导出; 14、支持CMS导库,程序包内含PHPCMS、DedeCms(织梦) V2/V3、PHP168 CMS、mephpcms系统导库规则及操作指南说明; 15、支持PHPWIND、Discuz论坛导库,程序包内含2大论坛导库规则及操作指南说明; 16、支持自定义入库间隔时间,躲避虚拟主机并发数限制。 -functional presentations : one to support the articles Pagination acquisition; 2, support UTF-8 conversion to GB2312, can be collected as characters format UTF-8 goals; 3, a number of articles support the preservation of local content; 4. + columns support site management, acquisition management transparent; 5, support the replacement of the article link function; 6. support unlimited collector installed filtering function; 7, the article to support the preservation of photographs collected locally, automatically replace file name to avoid duplication; 8, support the article FLASH document acquisition of the local preservation; 9. PHP support restrictions FOPEN function functional virtual hosts; 10, the results support the acquisition of artificial selection, and to provide "air headi
Update : 2008-10-13 Size : 2560875 Publisher : chenliang

DL : 0
自己写的一个IO库,模拟了一下fopen,fread,fwrite. -himself wrote an IO of the simulated what fopen, fread and fwrite.
Update : 2008-10-13 Size : 7597 Publisher : LB

DL : 0
% 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的长度 % goalfile是提取出的秘密信息文件 % key是随机间隔函数的密钥 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判断嵌入信息量是否过大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作为信息嵌入位计数器将信息序列写回文本文件 p=1 % 调用随机间隔函数选取像素点 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)
Update : 2008-10-13 Size : 3423 Publisher : yubo

DL : 0
FMC实现密码探测器功能FILE *input,*output char temp if(strcmp(infile,outfile)!=0 && ((input=fopen(infile,\"rb\"))!=NULL) && ((output=fopen
Update : 2008-10-13 Size : 3669 Publisher : 王国栋

学生学籍管理系统,用到了fopen,fwrite和string的操作.可以实现保存信息的功能.
Update : 2008-10-13 Size : 697729 Publisher : gto9999

SecureCRT Sample: Converting Deprecated CRT Functions to their _s Counterparts This sample demonstrates how to convert CRT functions which have been deprecated for security reasons to their _s counterparts. It covers the conversion of the following functions: strcpy, strncpy, fopen, _splitpath, sprintf, getenv, strcat, _creat, and itoa. It also demonstrates the use of _set_invalid_parameter_handler, another Secure CRT addition.
Update : 2008-10-13 Size : 11250 Publisher : 徐海峰

fopen在c++已经由有iostream来取代,对于popen呢? libexecstream正是这样一个库,它能够把运行的一个外部程序的输入、输出、错误当做一个iostream一样的对象来处理。
Update : 2008-10-13 Size : 30359 Publisher : txf

包装了一个开源的FAT16文件系统,可以用在单片机上,并且做了一个封皮,使得开发者能以标准I/O函数的形式使用它,如fopen, fread, fwrite等。
Update : 2008-10-13 Size : 63146 Publisher : 文远

DL : 0
matlab编程中所用的fopen.m文件
Update : 2011-08-31 Size : 522 Publisher : lglgenius

DL : 0
《使用 <fstream> 类进行文件的 I/O 处理》 传统的文件 I/O 库如 Unix 的 <io.h> 和 <stdio.h> ,由于其程序接口的原因,在很大程度上强制程序员进行某些处理,缺乏类型安全和国际化支持。C++ 的 <fstream> 库则在文件的 I/O 方面提供了一个增强的、面向对象的、具有国际化意识的库。该程序介绍如何使用这个库进行文件的 I/O 处理并利用它来编写易于跨平台的代码。 大多数 C++ 程序员都熟悉不止一个文件 I/O 库。首先是传统的 Unix 风格的库,它由一些低级函数如 read() 和 open()组成。其次是 ANSI C 的 <stdio.h> 库,它包含 fopen() 和 fread()等函数。其它的还有一些具备所有权的库或框架,比如 MFC,它有很多自己的文件处理类。   这些库一般都很难跨平台使用。更糟的是,上述提到的 C 库由于其程序接口的原因,在很大程度上强制程序员进行某些处理,而且缺乏类型安全支持。   标准 C++ 提供提供了一个增强的、面向对象的、具有国际化意识的 <fstream> 库。这个库包含一系列派生于标准 ios_base 和 ios 类的类模板。因此, <fstream> 提供了高级的自动控制机制和健壮性。-"use
Update : 2024-04-26 Size : 919552 Publisher : wwwwppp

fopen打开文件并用socket传输文件的程序,可以跨平台,运行时请注意文件中的源文件的文件名及路径是否正确,需在main函数中改下参数就ok-fopen to open the file and transfer files using socket procedures, can be cross-platform, run-time Please note that the source document file name and path is correct, in the main function to be changed under the parameters ok
Update : 2024-04-26 Size : 7689216 Publisher : jack

这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试. 用法很简单, 如下 FILE *fp // 文件指针 unsigned char temp[24]="3.wav" // 文件明需要放在数组里 while(!initialize_media()) // 初始化sd卡 { Uart_Printf("sd initializing....\n") } Uart_Printf("sd ready\n") fp=fopen(temp, READ) // 打开文件就可以用了, 函数和标准c中的一样,所以不能加载stdio.h if(!fp) { Uart_Printf("open file wrong\n") while(1) } Uart_Printf("open file successed\n") -This code for fat system under 2410, use a sd card
Update : 2024-04-26 Size : 28672 Publisher : 罗德强

DL : 0
A simple bibliotech archive coded in C. A real exercise with fopen write and the other base functions of C.-A simple bibliotech archive coded in C. A real exercise with fopen write and the other base functions of C.
Update : 2024-04-26 Size : 23552 Publisher : lupsyn

DL : 0
matlab打开txt文件,然后把矩阵改成一个向量,使其能进行相关运算 -open txt files by matlab
Update : 2024-04-26 Size : 1024 Publisher : 唐汤

DL : 0
自学C语言时,用FOPEN函数将数据输入到文本中-Self-learning C language, FOPEN function with the use of guidelines, have a copy of the procedures
Update : 2024-04-26 Size : 1024 Publisher : 王波

DL : 0
模拟实现单机目录FAT的文件系统 基本思路:用二进制文件空间模拟磁盘空间,用文件块操作模拟磁盘块操作。 基本设计要求:1、实现如下文件系统功能(过程或函数): a、 打开文件系统 FILE *OPENSYS(char *filename) b、 关闭文件系统 int CLOSESYS(FILE *stream) c、 显示目录 void LISTDIR(void) d、 建立文件 int FCREATE(char *filename) e、 删除文件 int FDELETE(char *filename) f、 打开文件 int FOPEN(char *filename) g、 关闭文件 int FCLOSE(int fileid) h、 文件块读 int FREAD(void *ptr, int n, int fileid) i、 文件块写 int FWRITE(void *ptr, int n, int fileid) j、 判断文件结束 int FEOF(int fileid) k、 获取文件指针 long FGETPOS(int fileid) l、 设置文件指针 int FSETPOS(int fileid, long offset) m、 取得文件长度 long FGETLEN(char *filename) 2、提供文件系统创建程序 3、有功能检测模块 4、为简化程序设计,假定目录区域大小固定。 -Simulation to achieve stand-alone catalog FAT file system
Update : 2024-04-26 Size : 15360 Publisher : 黎民
« 12 3 4 5 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.