-
-
Save parzibyte/69921d9bfed61ded959fe6e26229f7fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifstream archivo(NOMBRE_ARCHIVO); | |
string linea; | |
char delimitador = ','; | |
// Leemos la primer línea para descartarla, pues es el encabezado | |
getline(archivo, linea); | |
// Leemos todas las líneas | |
while (getline(archivo, linea)) | |
{ | |
// Magia aquí... | |
} | |
archivo.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment