CB100

Notas, resueltos y tps de la materia Algoritmos y Estructuras de Datos
Index Commits Files Refs README
commit 4dcf077aacb944bad4aa61ae78079d1bffbee7b4
parent d1204bff746da9aa26678c68149e90b4629ae8ce
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Thu, 20 Jun 2024 17:27:29 -0300

populate `Barrio->paradas` from the input file

Diffstat:
Mmain.cpp | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/main.cpp b/main.cpp
@@ -171,16 +171,8 @@ int main (void) {
             barrios->insert(barrio);
         } else {
             // barrio ya existe
-            // barrio->addParada(...);
+            barrio->addParada(calle, alturaPlano, direccion, coordX, coordY);
         }
-
-        // std::cout << "{\n    \"barrio\": " << barrioNombre << ",\n"
-        //     << "    \"calle\": \"" << calle << "\",\n"
-        //     << "    \"comuna\": " << comuna << ",\n"
-        //     << "    \"direccion\": \"" << direccion << "\",\n"
-        //     << "    \"coordenada x\": " << coordX << ",\n"
-        //     << "    \"coordenada y\": " << coordY << ",\n"
-        //     << "    \"alturaPlano\": " << alturaPlano << "\n},\n";
     }
 
     inputFile.close();