正在加载图片...
91.文件操作的C程序实例 r3.C程序实例3 【例9.3】从文件 userX中读取用户名和密码 程序文件名为93cpp #include "stdio. h" #include <stdlib. h> 计 struct userinfo *定义结构体* char username [10 char password[ 12] Sstu 返回本节目录【例9.3】从文件user.x中读取用户名和密码。 程序文件名为l9_3.cpp。 #include "stdio.h" #include <stdlib.h> struct userinfo /*定义结构体*/ { char username[10]; char password[12]; }stu; 9.1.1 文件操作的C程序实例 3.C程序实例3
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有