Find Jobs
Hire Freelancers

C++ project

$250-750 USD

Anuluar
Postuar over 11 years ago

$250-750 USD

Paguhet në dorëzim
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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 e Projektit: 2594555

Rreth projektit

40 propozime
Projekt në distancë
Aktive 12 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
40 profesionistët e pavarur ofrojnë mesatarisht $265 USD oferta për këtë punë
Avatari i Përdoruesit
Hi, I'd like to do this project please.
$250 USD në 0 ditë
4,9 (789 përshtypje)
7,4
7,4
Avatari i Përdoruesit
Please check your inbox. thanks
$250 USD në 2 ditë
4,9 (94 përshtypje)
6,8
6,8
Avatari i Përdoruesit
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 në 1 ditë
5,0 (104 përshtypje)
6,8
6,8
Avatari i Përdoruesit
Hi, I am C++ expert and can surely help you here, Thank You
$250 USD në 1 ditë
4,7 (228 përshtypje)
6,7
6,7
Avatari i Përdoruesit
I can help You
$250 USD në 1 ditë
5,0 (69 përshtypje)
5,9
5,9
Avatari i Përdoruesit
Hi please contact me to discuss this project. Check you PMB. thanks
$250 USD në 1 ditë
4,9 (43 përshtypje)
5,7
5,7
Avatari i Përdoruesit
Teaching assistant here. Let me help you. Good quality of code and comments. Check your pm for more details.
$250 USD në 0 ditë
4,9 (67 përshtypje)
5,4
5,4
Avatari i Përdoruesit
Hi. Please check your PMB. Thanks
$250 USD në 0 ditë
4,8 (25 përshtypje)
4,7
4,7
Avatari i Përdoruesit
Hello, I can finish this assignment.
$250 USD në 1 ditë
5,0 (28 përshtypje)
4,6
4,6
Avatari i Përdoruesit
please check the message for detail.
$250 USD në 1 ditë
4,8 (3 përshtypje)
4,3
4,3
Avatari i Përdoruesit
Hi, Kindly check the pm. Thank you.
$250 USD në 1 ditë
5,0 (3 përshtypje)
4,1
4,1
Avatari i Përdoruesit
Let me help you! Check PM
$250 USD në 2 ditë
5,0 (3 përshtypje)
3,8
3,8
Avatari i Përdoruesit
I can do it, I'm sure that you will be satisfied with my job
$250 USD në 5 ditë
5,0 (14 përshtypje)
3,7
3,7
Avatari i Përdoruesit
Teaching Assistant here! Let me help you!
$250 USD në 1 ditë
5,0 (16 përshtypje)
3,7
3,7
Avatari i Përdoruesit
Hi, I have developed a lot of C++ applications.
$250 USD në 2 ditë
5,0 (1 review)
3,7
3,7
Avatari i Përdoruesit
Hi i am experienced c++ programmer please check pmb
$250 USD në 0 ditë
4,6 (6 përshtypje)
3,1
3,1
Avatari i Përdoruesit
Hi i can handle this job for you in your deadline. Can start right away. Thanks
$250 USD në 1 ditë
5,0 (1 review)
2,7
2,7
Avatari i Përdoruesit
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 në 1 ditë
5,0 (1 review)
1,8
1,8
Avatari i Përdoruesit
Hi! I do it for you.
$250 USD në 0 ditë
5,0 (3 përshtypje)
1,1
1,1
Avatari i Përdoruesit
I'm sure I can do this job.
$250 USD në 0 ditë
3,2 (2 përshtypje)
2,0
2,0

Rreth klientit

Flamuri i UNITED STATES
Southfield, United States
5,0
8
Mënyra e pagesës u verifikua
Anëtar që nga sht 25, 2012

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.