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R2eivcSxwmm+McbcwaMuMXhxvvNLjFRfpvoFo0+NZa6OkT0jfoF08xTERZ0uVV7cK2Ad+nZr3gV7y0YE/Wdj5iOZ5graVzWPZD1xrHCafxf+yYsxP5vHXGLwku6+OPlSr8YdUDf2eNXLHvrUwnN1Hzv7Rg6HUtVnf/DpvjHX9QjVZW3a4voU7YvzuK6oehjZVY/7YHxcZ1T96TyiunE8HV9gjDFf90+sETeK72p1iFq6zupUtTt2zmMs1hkxL84jmW53zTmeGVlezCdRk8Q10Lwumf6oVlYXdPPBTC+zKat6kU7MiJV8xIKTeh2qC8zv37//zowxP4GPv8SsvkARO8qpfDsvX603Y9TXzK7+GJvlnsSTTh4ZxVa+TK+TV1H5R3n0jWpl+aN4ktnASiyBvwt0VuLJrP7ITzSum3MCLzK+uBjzc/no/5y08iJ8xUuzAnV1VLZdTvNfCT6HEdjL6udKTZ0rK3orZLrdWtznVUCPQ9c6X/HF9RPx5cUY85E/ieHLf6U1/XIZfdHs+jKyPkd9VPor9o6m2iptUvk7dUjmgw10tAnt6o+xWW6lB0Y+0qkBrrB3bST6ZmsAG4Cd8wz1Rw0lq1HR0TPGmKv4uJ/E8IXJFyxfiiOylyxz46iAb+fFqzlRg3tQ2IeOkb3DSd5ozzuagPHV/jP7LtR7Bat1qnj0rKOy7YK6WlvXI98VXK1njDEjPuonMXh5Z+2MXupVfLWtzDeK7zLqfVe70+soRn2Yd9D4Th0Qa2RxsFWazCMxJkJ/1MvIYjLNGVkd1Zn1QTo9kxhb7WWkp37O8QSZ1iqj2sYYczeP+NdJxhhjjDGRx/3GXmOMMcYY4EuMMcYYYx6JLzHGGGOMeSS+xBhjjDHmkfgSY4wxxphH4kuMMcYYYx6JLzHGGGOMeSD//PN/a0yY24jzpRIAAAAASUVORK5CYII=" alt="" />

解决代码及点评


/*
2. 一个以%5d格式存放20个整数的文件f4.dat,顺序号定为0~19。
输入某一顺序号之后,读出相应的数据并显示在屏幕上。
*/
#include <stdio.h>
#include <stdlib.h>
void writeFille9_2()
{
FILE *fp = NULL;
fopen_s(&fp, "f4.dat","w");
if (fp)
{
for (int i = 0; i < 20; i++)
{
fprintf(fp,"%5d",i);
}
fclose(fp);
}
else
{
printf("open file failed!");
}
}
int * readFille9_2(int index)
{
int * result = NULL;
int a;
FILE *fp = NULL;
fopen_s(&fp, "f4.dat","r");
if (fp)
{
fseek(fp,index * 5,SEEK_CUR);
if (fscanf_s(fp,"%5d",&a) == EOF)
{
return NULL;
}
result = &a;
fclose(fp);
}
else
{
printf("open file failed!");
}
return result;
}
void main()
{
writeFille9_2();
int index;
printf("input a index:\n");
scanf_s("%d",&index);
int *result = readFille9_2(index);
result == NULL ? printf("文件上没有%d号的数据。\n",index) : printf("读取结果:%d\n",*result);
system("pause");
}

代码编译以及运行

由于资源上传太多,资源频道经常被锁定无法上传资源,同学们可以打开VS2013自己创建工程,步骤如下:

1)新建工程

2)选择工程

3)创建完工程如下图:

4)增加文件,右键点击项目

5)在弹出菜单里做以下选择

6)添加文件

7)拷贝代码与运行

程序运行结果

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACYASURBVHhe7d0JvF5lfSfw/80miyDEEpJAO2NrVSqBsEVAWQQkKAG0WhU33D621k4ti7i0tsyHimIRpXVK2xGL1HXa0XEDZQ1WUCoCslhrh+kwLSELi4gsCUnunOe877k59+S8733vkvsk5PsNf95znuWc5z1vPtwf573vvUPDhag5+eSTu1sAALBlfO1rX+tudYyE0hRGh4aG4sXHHBtHHL005s3bsxwAAABTZe0Tv4i77rglPn3JJZFiaBVOy1CaAunuu8+Nd7377Hgs5pQdAACwpSzYdU6cd+4fx0MPPVgG0zKUnnLKKfGHf/LheGzoad1hAACwZS3YZXacfeZ/ia9+9asxdNJJJw0fdtgRcfgJv9ntBgCA6bHyp7fG5z53WSeU/sm5fxaPDs/udgEA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DKSHH354vOIVr4h3vvOdceqpp5aPGzdu7I4cH6EUAICBpVCa6tJLL4158+aV4fS5z31uLFmypAykqW8ihFIAAPoaGhoaVSl8pjrnnHPKt/P32WefSQXSRCgFAKCvFDzbgunw8HC87GUvKx/TfnPMeAilAAD0lUJp+gBTM3SmILp+/fpJB9JEKAUAoK8qkDZVbfUw2jZuEEIpAAB9td0lHaTGQygFAKCvXqE0qR4nSygFAKCvxx57bEI1HkPLli0bvuTSL8SDTwx3m0a76eovx7HHHtvdAwCA8dl7773jJ/c+0t0bbe4OQ/G2N586dih93l67dLcAAGBiJh1KAQBgS6lCqe8pBQAgO6EUAIDshFIAALITSgEAyE4oBQAgu5FP3wMAQA4jPxKquw8AABlE/H8NeyV+H7QYvQAAAABJRU5ErkJggg==" alt="" />




代码下载

http://download.csdn.net/detail/yincheng01/6694119

解压密码:c.itcast.cn

基于visual Studio2013解决C语言竞赛题之0902文件查找的更多相关文章

  1. 基于visual Studio2013解决C语言竞赛题之0906文件插入

       题目

  2. 基于visual Studio2013解决C语言竞赛题之0908文件合并

       题目

  3. 基于visual Studio2013解决C语言竞赛题之0905文件读写显示

       题目

  4. 基于visual Studio2013解决C语言竞赛题之0904文件排序

       题目

  5. 基于visual Studio2013解决C语言竞赛题之0903文件读写

       题目

  6. 基于visual Studio2013解决C语言竞赛题之0901文件读写

       题目

  7. 基于visual Studio2013解决C语言竞赛题之0708字符串查找

       题目

  8. 基于visual Studio2013解决C语言竞赛题之1013字符串查找

         题目 解决代码及点评 /* 功能:编写函数IND,让它判断一个字符串是否为另一个字符串的子串的功能,若是则返回第一次出现的起始位置,否则返回0 时间:13:55 2013 ...

  9. 基于visual Studio2013解决C语言竞赛题之1069链表查找删除

        题目 解决代码及点评 /* 功能:建立一个链表,每个结点包括:学号.姓名.性别.年龄.输入一个年龄,如果链表中的结点所包含的年龄等于此年龄, 将此结点删除,输出最后的链表. 时 ...

随机推荐

  1. BZOJ 1617: [Usaco2008 Mar]River Crossing渡河问题( dp )

    dp[ i ] = max( dp[ j ] + sum( M_1 ~ M_( i - j ) ) + M , sum( M_1 ~ M_i ) ) ( 1 <= j < i )  表示运 ...

  2. Oracle Split 函数

    为了让 PL/SQL 函数返回数据的多个行,必须通过返回一个 REF CURSOR 或一个数据集合来完成.REF CURSOR 的这种情况局限于可以从查询中选择的数据,而整个集合在可以返回前,必须进行 ...

  3. shell学习之字符串处理

    1.获取字符串长度 value=abcd;echo ${#value} 输出:42.获取子串 value=abcd;:} 输出:d value:a:b,其中a表示起始位置,b表示获取的子串的长度. 3 ...

  4. codeblocks + MinGW 以及vc 使用预编译头文件的方法

    MinGW编译器: 1.打开工程文件,在工程文件浏览其中,在你要设置为预编译的头文件上,点击鼠标右键,选择“属性(properties)”  你会看到一个多页面的属性框,选择“构建(build)”页面 ...

  5. MSSQLServer的备份与还原

    最近用到了mssql2000的数据备份还原到2008上, 在备份2000时,一定注意要备份成一个文件,就是目标那里只添加一个就好,(否则待会还原数据库时要添加这两个文件,要不就报“备份了几个簇,只提供 ...

  6. BZOJ 3544: [ONTAK2010]Creative Accounting( BST )

    题意 : 一段序列 , 求一段子序列和取余 M 的最大值 其实是一道水题... 前缀和 , 然后就是找 ( sum( r ) - sum( l ) ) % M 的最大值 . 考虑一个 sum( r ) ...

  7. ORACLE的执行计划

    转自:http://www.cnblogs.com/lovingprince/archive/2007/12/07/2166400.html 背景知识:        为了更好的进行下面的内容我们必须 ...

  8. Python之路Day5

    一.时间复杂度 (1)时间频度: 一个算法花费的时间与算法中语句的执行次数成正比例,哪个算法中语句执行次数多,它花费的时间就多.一个算法中的语句执行次数称为语句频度或时间频度,记为T(n). (2)时 ...

  9. [转]TOMCAT原理以及处理HTTP请求的过程、ContextPath ServletPath

    一.TOMCAT 1 - Tomcat Server的组成部分 <Server>     <Service>         <Connector/>        ...

  10. USACO Subset 整数划分01背包

    又是去理解了一次01背包. 这道题目的意思就是给你一个N (N < 40)表示有一个集合{1,2,3,... n} 你要将它划分成相等的两个子集合,求有几种划分方式 如果N是奇数,那么显然不能由 ...