Problem B: 显示文本文件的内容

Problem B: 显示文本文件的内容

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 681  Solved: 392
[Submit] [Status] [Web Board] [Creator:]

Description

请将文本文件zwu.dic下载保存到当前目录下(和C语言源文件在同一目录下)。 

要求编写C程序,将zwu.dic的内容显示在屏幕上。

注意,该文件每行数据不超过1000个字符。

Input


Output

当前目录下zwu.dic的内容。

Sample Input Copy

例如,zwu.dic的内容为:
Zhejiang Wanli University (ZWU) , situated in the Higher Education Park of Ningbo City, 
covers a total area of 95 hectares and consists of Huilong Campus and Qianhu Campus. 
ZWU has the most beautiful human-orientated campus, green and well-equipped, 
widely recognized by people from the educational circle.

Sample Output Copy

屏幕上应该显示同样的内容:
Zhejiang Wanli University (ZWU) , situated in the Higher Education Park of Ningbo City, 
covers a total area of 95 hectares and consists of Huilong Campus and Qianhu Campus. 
ZWU has the most beautiful human-orientated campus, green and well-equipped, 
widely recognized by people from the educational circle.

HINT

头文件:#include <stdio.h> fgets()函数用于从文件流中读取一行或指定个数的字符,其原型为: char * fgets(char * string, int size, FILE * stream); 参数说明: string为一个字符数组,用来保存读取到的字符。 size为要读取的字符的个数。如果该行字符数大于size-1,则读到 size-1 个字符时结束,并在最后补充' \0';如果该行字符数小于等于 size-1,则读取所有字符,并在最后补充 '\0'。即,每次最多读取 size-1 个字符。 stream为文件流指针。 【返回值】读取成功,返回读取到的字符串,即string;失败或读到文件结尾返回NULL。