Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - fopen
Search - fopen - List
DL : 0
DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,\"r\"))==NULL) {cout<<\"Cannot open the file to compare\"<<endl } if((cfp=fopen(cfile,\"r\"))==NULL) {cout<<\"Cannot open the file to compare\"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
Update : 2008-10-13 Size : 4914 Publisher : wxh

DL : 1
基于轮廓的形状特征提取 1)该程序在VC++6.0下编译通过; 2)测试图片说明:(图像路径名请在main函数中fp=fopen(\"1.bmp\",\"rb\")中设定) 64×64 24bit BMP: 图像1、2用来验证旋转图像识别;图像1、3用来验证平移图像识别;图像1、4用来验证缩放图像识别; 120×120 24bit BMP: 图像5、6用来验证平移图像识别;图像7、8用来验证旋转图像识别; 3)结果说明: MCS.dat保存了Mountain Climbing Sequence。
Update : 2008-10-13 Size : 3033 Publisher : 方哲

fopen打开文件并用socket传输文件的程序,可以跨平台,运行时请注意文件中的源文件的文件名及路径是否正确,需在main函数中改下参数就ok
Update : 2008-10-13 Size : 5226217 Publisher : jack

DL : 0
一个功能十分强大的 邮件类,无需依赖 mail() 函数,通过fopen 系列函数实现,并提供 额外功能,如 携带附件,stmp 验证等。注意:是 rar 格式压缩-a function of a very strong class mail, without relying on mail () function, series by fopen function to achieve, and to provide additional features, such as carrying annex, stmp certification. Attention : rar compressed format
Update : 2008-10-13 Size : 61049 Publisher : 周谦

这是一本讲解C语言的书,是英文编写,十分经典,是大部分公司的新职员入职之前必须要看的书籍之一,很多公司都以它作为培训教材,帮助你更快了解C语言的奥妙。 Contents l Preface l Preface to the first edition l Introduction 1. Chapter 1: A Tutorial Introduction 1. Getting Started 2. Variables and Arithmetic Expressions 3. The for statement 4. Symbolic Constants 5. Character Input and Output 1. File Copying 2. Character Counting 3. Line Counting 4. Word Counting 6. Arrays 7. Functions 8. Arguments - Call by Value 9. Character Arrays 10. External Variables and Scope 2. Chapter 2: Types, Operators and Expressions 1. Variable Names 2. Data Types and Sizes 3. Constants 4. Declarations 5. Arithmetic Operators 6. Relational and Logical Operators 7. Type Conversions 8. Increment and Decrement Operators 9. Bitwise Operators 10. Assignment Operators and Expressions 11. Conditional Expressions 12. Precedence and Order of Evaluation 3. Chapter 3: Control Flow 1. Statements and Blocks 2. If-Else 3. Else-If 4. Switch 5. Loops - While and For 6. Loops - Do-While 7. Break and Continue 8. Goto and labels 4. Chapter 4: Functions and Program Structure 1. Basics of Functions 2. Functions Returning Non-integers 3. External Variables 4. Scope Rules 5. Header Files 6. Static Variables 7. Register Variables 8. Block Structure 9. Initialization 10. Recursion 11. The C Preprocessor 1. File Inclusion 2. Macro Substitution 3. Conditional Inclusion 5. Chapter 5: Pointers and Arrays 1. Pointers and Addresses 2. Pointers and Function Arguments 3. Pointers and Arrays 4. Address Arithmetic 5. Character Pointers and Functions 6. Pointer Arrays; Pointers to Pointers 7. Multi-dimensional Arrays 8. Initialization of Pointer Arrays 9. Pointers vs. Multi-dimensional Arrays 10. Command-line Arguments 11. Pointers to Functions 12. Complicated Declarations 6. Chapter 6: Structures 1. Basics of Structures 2. Structures and Functions 3. Arrays of Structures 4. Pointers to Structures 5. Self-referential Structures 6. Table Lookup 7. Typedef 8. Unions 9. Bit-fields 7. Chapter 7: Input and Output 1. Standard Input and Output 2. Formatted Output - printf 3. Variable-length Argument Lists 4. Formatted Input - Scanf 5. File Access 6. Error Handling - Stderr and Exit 7. Line Input and Output 8. Miscellaneous Functions 1. String Operations 2. Character Class Testing and Conversion 3. Ungetc 4. Command Execution 5. Storage Management 6. Mathematical Functions 7. Random Number generation 8. Chapter 8: The UNIX System Interface 1. File Descriptors 2. Low Level I/O - Read and Write 3. Open, Creat, Close, Unlink 4. Random Access - Lseek 5. Example - An implementation of Fopen and Getc 6. Example - Listing Directories 7. Example - A Storage Allocator l Appendix A: Reference Manual 1. Introduction 2. Lexical Conventions 3. Syntax Notation 4. Meaning of Identifiers 5. Objects and Lvalues 6. Conversions 7. Expressions 8. Declarations 9. Statements 10. External Declarations 11. Scope and Linkage 12. Preprocessor 13. Grammar l Appendix B: Standard Library 1. Input and Output: 1. File Operations 2. Formatted Output 3. Formatted Input 4. Character Input and Output Functions 5. Direct Input and Output Functions 6. File Positioning Functions 7. Error Functions 2. Character Class Tests: 3. String Functions: 4. Mathematical Functions: 5. Utility Functions: 6. Diagnostics: 7. Variable Argument Lists: 8. Non-local Jumps: 9. Signals: 10. Date and Time Functions: 11. Implementation-defined Limits: and l Appendix C: Summary of Changes
Update : 2010-12-25 Size : 570630 Publisher : wukoo0901@qq.com

DL : 0
我在毕业设计过程中涉及到socket编程,这里是我珍藏总结的一些关于socket的经典文档,希望对大家有帮助-I graduated in the design process relates to socket programming, here is my collection of summing up some of the classic socket documents, we hope to help
Update : 2024-05-06 Size : 82944 Publisher : 孙明亮

DL : 0
一个功能十分强大的 邮件类,无需依赖 mail() 函数,通过fopen 系列函数实现,并提供 额外功能,如 携带附件,stmp 验证等。注意:是 rar 格式压缩-a function of a very strong class mail, without relying on mail () function, series by fopen function to achieve, and to provide additional features, such as carrying annex, stmp certification. Attention : rar compressed format
Update : 2024-05-06 Size : 60416 Publisher : 周谦

本程序是一个多线呈的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 : 2024-05-06 Size : 172032 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 : 2024-05-06 Size : 1822720 Publisher : 邓婷婷

DL : 0
这个程序是用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 : 2024-05-06 Size : 27648 Publisher : 刘亮

DL : 0
自己写的一个IO库,模拟了一下fopen,fread,fwrite. -himself wrote an IO of the simulated what fopen, fread and fwrite.
Update : 2024-05-06 Size : 7168 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 : 2024-05-06 Size : 3072 Publisher : yubo

DL : 0
FMC实现密码探测器功能FILE *input,*output char temp if(strcmp(infile,outfile)!=0 && ((input=fopen(infile,"rb"))!=NULL) && ((output=fopen -Password realize FMC detector functions FILE* input,* output char temp if (strcmp (infile, outfile)! = 0
Update : 2024-05-06 Size : 3072 Publisher : 王国栋

学生学籍管理系统,用到了fopen,fwrite和string的操作.可以实现保存信息的功能.-Students in school management system, use the fopen, fwrite and string operations. May achieve the goal of preserving information.
Update : 2024-05-06 Size : 697344 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. -SecureCRT Sample: Converting Deprecated CRT Functions to their _s CounterpartsThis 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 : 2024-05-06 Size : 11264 Publisher : 徐海峰

fopen在c++已经由有iostream来取代,对于popen呢? libexecstream正是这样一个库,它能够把运行的一个外部程序的输入、输出、错误当做一个iostream一样的对象来处理。-fopen in c++ by iostream has replaced it for popen? libexecstream is such a database, it is able to run an external program input, output, error as an iostream object to the same treatment.
Update : 2024-05-06 Size : 30720 Publisher : txf

包装了一个开源的FAT16文件系统,可以用在单片机上,并且做了一个封皮,使得开发者能以标准I/O函数的形式使用它,如fopen, fread, fwrite等。-An open source packaging FAT16 file system, can be used in single-chip, and is to do a cover, making the developer to the standard I/O function of the form to use it, such as fopen, fread, fwrite, etc..
Update : 2024-05-06 Size : 116736 Publisher : 文远

DL : 0
DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff -DESProcess FILE*mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
Update : 2024-05-06 Size : 5120 Publisher : wxh

DL : 0
基于轮廓的形状特征提取 1)该程序在VC++6.0下编译通过; 2)测试图片说明:(图像路径名请在main函数中fp=fopen("1.bmp","rb")中设定) 64×64 24bit BMP: 图像1、2用来验证旋转图像识别;图像1、3用来验证平移图像识别;图像1、4用来验证缩放图像识别; 120×120 24bit BMP: 图像5、6用来验证平移图像识别;图像7、8用来验证旋转图像识别; 3)结果说明: MCS.dat保存了Mountain Climbing Sequence。 -Based on the outline of the shape feature extraction 1) the program in VC 6.0 under the compiler through 2) Test Photo Caption: (image path name in the main function fp = fopen (1.bmp, rb) set) 64 × 64 24bit BMP: image 1,2 to verify rotating image recognition image 1,3 to verify translational image recognition image 1,4 to verify scaling image recognition 120 × 120 24bit BMP: images used to verify translational 5,6 image recognition images 7,8 rotate images used to verify identification 3) The results indicate that: MCS.dat preserved Mountain Climbing Sequence.
Update : 2024-05-06 Size : 3072 Publisher : 方哲

DL : 0
C语言文件操作函数集(功能描述、示例代码),如fopen/fclose/fileno/ftell/fflush等。-file operations api in c
Update : 2024-05-06 Size : 58368 Publisher : qinit
« 1 23 4 5 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.