搜索资源列表
preprocessor
- Handling preprocessor directives. Write a program that processes a preprocessor directive in the file containing the program in C. Should properly handle the directive # include, # define, # ifdef and ifndef. In the implementation of # de
Address-book
- 这是一个用C语言写的通讯录:它包括输入记录、删除记录、插入记录、记录保存文件、从文件中读取记录等。-This is a C language to write the address book: it includes input records, delete records, insert record, recording save the file, read the records from a file.
cmobliphone
- C语言实现设计一个简易的手机通讯录管理系统。该题目要求在熟练掌握C语言的基本知识:数据类型(整形、实型、字符型、指针、数组、结构等);运算类型(算术运算、逻辑运算、自增自减运算、赋值运算等);程序结构(顺序结构、判断选择结构、循环结构);大程序的功能分解方法(即函数的使用)等。进一步掌握各种函数的应用,包括时间函数、、绘图函数,以及文件的读写操作等。-Design a simple mobile phone address book management system. The subject
5name
- 输入五个姓名,并将几段名字的首字母大写,能识别空格。最后将输入的名字输出到data文件-Write a programme that reads in the name (Given name+ space+ family name) of 5 persons and writes them to a disk file. Each name in the disk file always starts on a new line. Note that you need consider
NetFileRead
- C++ 网络文件读取,并保存成新的文件实例。-C + + network file read and save a new file instance.
Create-Picture
- 为两个程序,配合使用。一个是读取图片文件的二进制流,按照规定的格式写入一个txt文本文档中,另一个程序是将此文本文档中的内容按照指定格式复制到代码的数组中,最终可生成原图片。特点:第二个程序不需要单独的图片附件,而是将所需图片的二进制流存储到了数组中,在需要的时候使用。注:由于程序较简单,本人采用DEV C++程序编写,无工程文件,若用VS2013编译会出现fscanf和sprintf以及fopen等这些文件读写函数不安全的警告,需用_s的函数替换,只需按照相应格式替换即可,这里不再赘述。-Fo
ReadFile_And_WriteFile-Demo(VS2013)
- 对上次本人用dev c写的读写文件的程序进行改写,这次是用VS2013写的,将读文件与写文件分别封装成两个独立的函数放到两个独立的文件.cpp(.h)中,便于以后根据自己的需要对函数功能进行相应的扩展。读文件操作制将某一文件的二进制流读出写到一个txt文件中,写文件指将事先写好的数组中的数据一二进制流的形式写成一个新的文件。 两个函数原型: void ReadFile(char* readfilename, char* writefilename) void WriteFile(c