YAMILDIAZ

VENDEDORARCHIVO.H

May 23rd, 2024 (edited)
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | Source Code | 0 0
  1. #pragma once
  2. #include "Vendedor.h"
  3.  
  4. class VendedorArchivo{
  5.     private:
  6.         char _nombreArchivo[40];
  7.     public:
  8.         VendedorArchivo(std::string nombreArchivo);
  9.  
  10.         Vendedor leerRegistro(int pos);
  11.         int ContarRegistro();
  12.         bool GuardarRegistro(Vendedor registro);
  13.         bool Sobreescribir(int pos, Vendedor reg);
  14.         int BuscarId(int indice);
  15. };
  16.  
Advertisement
Add Comment
Please, Sign In to add comment