没有要求读出来放在哪里,所以以显示在屏幕上为例。设文件名为123.txt并在当前目录下,编程如下://#include "stdafx.h"//If the vc++6.0, with this line.#include "stdio.h"#include "stdlib.h"int main(void){ FILE *fp; int x; if((fp=fopen("123.txt","r"))==NULL)...