Creating a code using classes to keep track of a company's day to day business

I am trying to modify the code to keep track of day to day operations of a made up medium sized company. I want the name to be Minion World.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  class Task
        	taskId
        	description   (default â€
        	startDay
        	length        	assignedTo
        	done
 
        	op=()
 
 
class TaskManager
        	taskList (vector<taskId>?)
 
        	log() 	
 
 
class HR
        	EmployeeList  (vector<employeeId>?)
 
        	makeManager(employeeId)
 
 
class Employee
        	employeeId
        	name
        	managerId
        	currentTasks (vector<taskId>?)
        	completedTasks   (vector<Pair: <taskId, Performance> >?)
 
        	reportDoneToManager(taskId)
 
 
class Manager : public Employee
	subordinates   (Employee array[3 to 6])
 	departmentId

	assignTask(employeeId, taskId)
	requestTask(departmentId, taskId)
 
 
Class Department
	managerList  (vector <managerId>)

class Assigner
        	Task makeTask()
assignTaskToEmployee(which, timeWorked)

private:
	randomizer() ??
Do you have an actual problem, or are you simply looking for pointers to doing the coding?

You've got an adequate Class outline, now flesh it out by writing some actual code to make the class work.

And next time, don't go so hog-wild with the tags when posting code, please. :)

Haha, I simply put the code in between one set of tags and that was the result. Not sure where I went wrong.

Also, I am looking for pointers to get this coding started.

The thing is that I have no idea how to write the actual code to make the class work.
You have "no idea"?
Not even of the basic syntax?
http://www.cplusplus.com/doc/tutorial/classes/
Another tutorial on classes and object-oriented programming:
https://www.learncpp.com/cpp-tutorial/81-welcome-to-object-oriented-programming/
Topic archived. No new replies allowed.