Find Jobs
Hire Freelancers

C++ project

$250-750 USD

취소됨
게시됨 11년 이상 전

$250-750 USD

제출할때 지불됩니다
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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: 2594555

프로젝트 정보

40 제안서
원격근무 프로젝트
활동 중 12년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
40 이 프로젝트에 프리랜서들의 평균 입찰은 $265 USD입니다.
사용자 아바타
Hi, I'd like to do this project please.
$250 USD 0일에
4.9 (789 건의 리뷰)
7.4
7.4
사용자 아바타
Please check your inbox. thanks
$250 USD 2일에
4.9 (94 건의 리뷰)
6.8
6.8
사용자 아바타
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 1일에
5.0 (104 건의 리뷰)
6.8
6.8
사용자 아바타
Hi, I am C++ expert and can surely help you here, Thank You
$250 USD 1일에
4.7 (228 건의 리뷰)
6.7
6.7
사용자 아바타
I can help You
$250 USD 1일에
5.0 (69 건의 리뷰)
5.9
5.9
사용자 아바타
Hi please contact me to discuss this project. Check you PMB. thanks
$250 USD 1일에
4.9 (43 건의 리뷰)
5.7
5.7
사용자 아바타
Teaching assistant here. Let me help you. Good quality of code and comments. Check your pm for more details.
$250 USD 0일에
4.9 (67 건의 리뷰)
5.4
5.4
사용자 아바타
Hi. Please check your PMB. Thanks
$250 USD 0일에
4.8 (25 건의 리뷰)
4.7
4.7
사용자 아바타
Hello, I can finish this assignment.
$250 USD 1일에
5.0 (28 건의 리뷰)
4.6
4.6
사용자 아바타
please check the message for detail.
$250 USD 1일에
4.8 (3 건의 리뷰)
4.3
4.3
사용자 아바타
Hi, Kindly check the pm. Thank you.
$250 USD 1일에
5.0 (3 건의 리뷰)
4.1
4.1
사용자 아바타
Let me help you! Check PM
$250 USD 2일에
5.0 (3 건의 리뷰)
3.8
3.8
사용자 아바타
I can do it, I'm sure that you will be satisfied with my job
$250 USD 5일에
5.0 (14 건의 리뷰)
3.7
3.7
사용자 아바타
Teaching Assistant here! Let me help you!
$250 USD 1일에
5.0 (16 건의 리뷰)
3.7
3.7
사용자 아바타
Hi, I have developed a lot of C++ applications.
$250 USD 2일에
5.0 (1 건의 리뷰)
3.7
3.7
사용자 아바타
Hi i am experienced c++ programmer please check pmb
$250 USD 0일에
4.6 (6 건의 리뷰)
3.1
3.1
사용자 아바타
Hi i can handle this job for you in your deadline. Can start right away. Thanks
$250 USD 1일에
5.0 (1 건의 리뷰)
2.7
2.7
사용자 아바타
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 1일에
5.0 (1 건의 리뷰)
1.8
1.8
사용자 아바타
Hi! I do it for you.
$250 USD 0일에
5.0 (3 건의 리뷰)
1.1
1.1
사용자 아바타
I'm sure I can do this job.
$250 USD 0일에
3.2 (2 건의 리뷰)
2.0
2.0

고객에 대한 정보

국기 (UNITED STATES)
Southfield, United States
5.0
8
결제 수단 확인
9월 25, 2012부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.