Jamie Mitchell has worked in the industry since 2004, when they began as a Channel Manager at BT. In 2015, they founded and became the Director of Ultimate Fan Live (Previously named Priority Sports Marketing Solutions), where they focused on data capture, fan engagement, and providing insight analytics to drive revenue and engagement. In 2017, they became the Co-Founder and CEO of Low6, which has won several awards, including EGR Free to Play Supplier of the Year 2022 in North America, Sigma Gaming's Rising Star of 2022, EGR Rising Star 2021, EGR Virtual and Fantasy Operator 2021, and EGR Power 50 - Ones to Watch 2021.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "LinkedList.h"
#include "Employee.h"
/** \brief Parsea los datos los datos de los empleados desde el archivo data.csv (modo texto).
*
* \param path char*
* \param pArrayListEmployee LinkedList*
* \return int
*
*/
int parser_EmployeeFromText(FILE* pFile , LinkedList* pArrayListEmployee)
{
int retorno = -1;
char bufferId[4096];
char bufferNombre[4096];
char bufferHorasTrabajadas[4096];
char bufferSueldo[4096];
Employee* pEmpleado;
if(pFile != NULL && pArrayListEmployee != NULL)
{
fscanf(pFile,"%[^,],%[^,],%[^,],%[^\n]\n",bufferId,bufferNombre,bufferHorasTrabajadas,bufferSueldo);
while(!feof(pFile))
{
fscanf(pFile,"%[^,],%[^,],%[^,],%[^\n]\n",bufferId,bufferNombre,bufferHorasTrabajadas,bufferSueldo);
pEmpleado = employee_newParametros(bufferId,bufferNombre,bufferHorasTrabajadas,bufferSueldo);
if(pEmpleado != NULL)
{
ll_add(pArrayListEmployee,pEmpleado);
retorno = 0;
}
}
}
return retorno;
}
/** \brief Parsea los datos los datos de los empleados desde el archivo data.csv (modo binario).
*
* \param path char*
* \param pArrayListEmployee LinkedList*
* \return int
*
*/
int
Sign up to view 5 direct reports
Get started