#include "stdio.h"
#include "conio.h"
#include "iostream.h"
#include "fstream.h"
void main()
{
char nim[10],nama[15];
ifstream f_in("pelangi.txt");
f_in.read((char*)&nim,sizeof(nim));
f_in.read((char*)&nama,sizeof(nama));
while(! f_in.eof())
{
f_in.read((char*)&nim,sizeof(nim));
f_in.read((char*)&nama,sizeof(nama));
cout<<"Nim : "<
0 komentar