Skip to content

Commit

Permalink
ver
Browse files Browse the repository at this point in the history
  • Loading branch information
larafava committed Dec 1, 2023
1 parent 3db514d commit 91963bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Proyecto/libreria/funciones.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void leerClases(ifstream &archi, Clases* &clase, int &tamC){

getline(archi, linea);

while(!archi.eof() && getline(archi, linea)){
while(archi.good()){

s<<linea;

Expand All @@ -98,7 +98,9 @@ void leerClases(ifstream &archi, Clases* &clase, int &tamC){

}
}
delete[]clasess;
}

Cliente* guardarCliente(string archivo, int* cantidadClientes) {
Cliente* listaCliente=new Cliente[0];
*cantidadClientes=0;
Expand Down
1 change: 1 addition & 0 deletions Proyecto/libreria/funciones.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ typedef struct {

Inscripcion* CursosInscriptos;
} sAsistencia;

void registrarCliente(Cliente*& listaClientes, int* tamactual, Cliente nuevoCliente);
void agregar_clases(Clases*&lista_clases, Clases *clase, int*tamactual);
Clases*read_archivo_clases(string a1, int*contador);
Expand Down

0 comments on commit 91963bb

Please sign in to comment.