Find Jobs
Hire Freelancers

C++ project

$250-750 USD

Cancelado
Publicado hace más de 11 años

$250-750 USD

Pagado a la entrega
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Due: Oct 25rd, midnight + + Submit [login to view URL] and [login to view URL] + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Your Task : This lab is to use class to simulate employee records, load employee information from a text file to a vector of class objects(similar to structs, but class do not have public access for private members. You need to call the “SET” functions from class objects to assign the values to private memebers and push_back the class object into the vector). (1) You are given a [login to view URL] and an employee class (employee.h and [login to view URL]). The specification file for the employee class is provided; The employee class .h file is class employee{ public: employee();//default constructor void SetName(string strIn);//set the name void SetPassword(string strIn);// set password using strIn void SetLoginID(string strIn);//set the user ID void SetSalary(int valIn);//set the salary void SetPosition(position pIn);//set the position void print();//print employee information bool userIDChecking(string IDIn);//return true if ID match with employee user ID bool passwordChecking(string passIn);//return true if passIn match with employee password bool IsManager(); //return true if employee is manager, else return false private: string Name; string Password; string UserID; int salary; position myPosition; 2 }; For [login to view URL], the constructor and SetLoginID functions are done. You need to provide the code for rest of the public functions. (2) The [login to view URL] is to use a] vector<employee> to hold all the data from a data file. When loading the data from file to vector, you should use push_back function from vector insert every record from file into the global vector called dataSet. The datafile contains several records, starting with an integer indicating how many records in the file. Each record is made up with Name Login ID Password Salary An integer (0 means staff, 1 means manager). So, after the vector is loaded. It contains all employee objects. The program will ask user to input the ID and password, if there is a math the information of that user will be print out on the screen. If that user is manager, that user can have all the staff information on the screen. (3) For [login to view URL], you need to provide the code for two functions, do not change other part. void LoadVector(string fileName, vector<employee> &vIn); //loading function, load the data from file named filename to vector vIn int loginCheck(string ID, vector<employee> vIn); //check user input ID on vector, return valid index in the vector if there is a match, else return -1 Sample screenshots 3
ID del proyecto: 2594555

Información sobre el proyecto

40 propuestas
Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
40 freelancers están ofertando un promedio de $265 USD por este trabajo
Avatar del usuario
Hi, I'd like to do this project please.
$250 USD en 0 día
4,9 (789 comentarios)
7,4
7,4
Avatar del usuario
Please check your inbox. thanks
$250 USD en 2 días
4,9 (94 comentarios)
6,8
6,8
Avatar del usuario
Greetings! I can do this assignment at the lowest rates and in the least possible time. Please see PMB as to why? Thanks...
$250 USD en 1 día
5,0 (104 comentarios)
6,8
6,8
Avatar del usuario
Hi, I am C++ expert and can surely help you here, Thank You
$250 USD en 1 día
4,7 (228 comentarios)
6,7
6,7
Avatar del usuario
I can help You
$250 USD en 1 día
5,0 (69 comentarios)
5,9
5,9
Avatar del usuario
Hi please contact me to discuss this project. Check you PMB. thanks
$250 USD en 1 día
4,9 (43 comentarios)
5,7
5,7
Avatar del usuario
Teaching assistant here. Let me help you. Good quality of code and comments. Check your pm for more details.
$250 USD en 0 día
4,9 (67 comentarios)
5,4
5,4
Avatar del usuario
Hi. Please check your PMB. Thanks
$250 USD en 0 día
4,8 (25 comentarios)
4,7
4,7
Avatar del usuario
Hello, I can finish this assignment.
$250 USD en 1 día
5,0 (28 comentarios)
4,6
4,6
Avatar del usuario
please check the message for detail.
$250 USD en 1 día
4,8 (3 comentarios)
4,3
4,3
Avatar del usuario
Hi, Kindly check the pm. Thank you.
$250 USD en 1 día
5,0 (3 comentarios)
4,1
4,1
Avatar del usuario
Let me help you! Check PM
$250 USD en 2 días
5,0 (3 comentarios)
3,8
3,8
Avatar del usuario
I can do it, I'm sure that you will be satisfied with my job
$250 USD en 5 días
5,0 (14 comentarios)
3,7
3,7
Avatar del usuario
Teaching Assistant here! Let me help you!
$250 USD en 1 día
5,0 (16 comentarios)
3,7
3,7
Avatar del usuario
Hi, I have developed a lot of C++ applications.
$250 USD en 2 días
5,0 (1 comentario)
3,7
3,7
Avatar del usuario
Hi i am experienced c++ programmer please check pmb
$250 USD en 0 día
4,6 (6 comentarios)
3,1
3,1
Avatar del usuario
Hi i can handle this job for you in your deadline. Can start right away. Thanks
$250 USD en 1 día
5,0 (1 comentario)
2,7
2,7
Avatar del usuario
Hello. I am an experienced developer. I am good with oop programming in C++. I can have this done by tomorrow. Check pmb for further questions. Kindest regards, Arthur.
$250 USD en 1 día
5,0 (1 comentario)
1,8
1,8
Avatar del usuario
Hi! I do it for you.
$250 USD en 0 día
5,0 (3 comentarios)
1,1
1,1
Avatar del usuario
I'm sure I can do this job.
$250 USD en 0 día
3,2 (2 comentarios)
2,0
2,0

Sobre este cliente

Bandera de UNITED STATES
Southfield, United States
5,0
8
Forma de pago verificada
Miembro desde sept 25, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.