You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
MIGUEL Á. TOLEDO MARTÍNEZ<br />
/* El siguiente programa: LECSEC.CPP, ilustra la lectura secuencial de un archivo<br />
de acceso aleatorio.<br />
*/<br />
#include //Para cout y cin<br />
#include //Para setw()<br />
#include //Para crear el objeto creditoEntrada<br />
#include //Para exit()<br />
#include "c:\apuntes1 c++\programas fuentes\leccion 07\clntdata.h"<br />
void lineaSalida(ostream&, const datoCliente &);<br />
int main(void)<br />
{<br />
ifstream creditoEntrada("credito.dat", ios::in);<br />
if(!creditoEntrada)<br />
{<br />
cerr