// ver 1.cpp: определяет точку входа для консольного приложения.
#include "stdafx.h"
#include<string>
#include<iostream>
#include "Company.h"
#include "Employee.h"
#include "Ministry.h"
#include "Professor.h"
#include "Project.h"
#include "Student.h"
using namespace std;
int main()
{
cout << "???" << endl << "???" << endl << "Modeling started" << endl << "Modeling finished" << endl;
system("pause");
return 0;
}
* Module: Project.h
#if !defined(__ClassDiagram_Project_h)
#define __ClassDiagram_Project_h
#include<string>
#include<iostream>
class Company;
class University;
class Ministry;
class Project
{
public:
void start(void);
Company** company;
University** university;
Ministry** ministry;
protected:
private:
std::string name;
std::string description;
int term_of_execution;
int number_of_worker;
};
#endif
* Module: Project.cpp
#include "stdafx.h"
#include "Company.h"
#include "Ministry.h"
#include "Project.h"
#include "University.h"
#include<string>
#include<iostream>
void Project::start(void)
{
// TODO : implement
}
* Module: Company.h
#if !defined(__ClassDiagram_Company_h)
#define __ClassDiagram_Company_h
#include<string>
#include<iostream>
class Employee;
class Company
{
public:
void produce_products(void);
void create_your_own_divisions(void);
void fund_university(void);
void give_projects(void);
Employee** employee;
protected:
private:
std::string Name;
int number_of_employees;
std::string location;
std::string type_of_employment;
};
#endif
* Module: Company.cpp
#include "stdafx.h"
#include "Employee.h"
#include "Company.h"
#include<string>
#include<iostream>
void Company::produce_products(void)
{
// TODO : implement
}
void Company::create_your_own_divisions(void)
{
// TODO : implement
}
void Company::fund_university(void)
{
// TODO : implement
}
void Company::give_projects(void)
{
// TODO : implement
}
* Module: Employee.h
#if !defined(__ClassDiagram_Employee_h)
#define __ClassDiagram_Employee_h
#include<string>
#include<iostream>
class Employee
{
public:
void give_project(void);
void provide_resources(void);
void keeps_track_implementation(void);
void takes_job(void);
protected:
private:
std::string name;
int age;
std::string work;
int salary;
};
#endif
* Module: Employee.cpp
#include "stdafx.h"
#include "Employee.h"
#include<string>
#include<iostream>
void Employee::give_project(void)
{
// TODO : implement
}
void Employee::provide_resources(void)
{
// TODO : implement
}
void Employee::keeps_track_implementation(void)
{
// TODO : implement
}
void Employee::takes_job(void)
{
// TODO : implement
}
* Module: Ministry.h
#if !defined(__ClassDiagram_Ministry_h)
#define __ClassDiagram_Ministry_h
#include<string>
#include<iostream>
class Ministry
{
public:
void set_framework_for_university(void);
void provide_staff(void);
void provide_necessary_resources(void);
protected:
private:
int number_of_employee;
int budget;
std::string name;
};
#endif
* Module: Professor.h
#if !defined(__ClassDiagram_Professor_h)
#define __ClassDiagram_Professor_h
#include<string>
#include<iostream>
class Professor
{
public:
void teach_student(void);
void work_on_the_project(void);
void conduct_research(void);
protected:
private:
std::string Name;
int age;
std::string work;
int experience;
std::string faculty;
};
#endif
* Module: Professor.cpp
#include "stdafx.h"
#include "Professor.h"
#include<string>
#include<iostream>
void Professor::teach_student(void)
{
// TODO : implement
}
void Professor::work_on_the_project(void)
{
// TODO : implement
}
void Professor::conduct_research(void)
{
// TODO : implement
}
* Module: Student.h
#if !defined(__ClassDiagram_Student_h)
#define __ClassDiagram_Student_h
#include<string>
#include<iostream>
class Student
{
public:
void study_at_univer(void);
void working_on_a_project(void);
void conducts_research(void);
protected:
private:
std::string name;
int age;
std::string faculty;
int course;
std::string group;
};
#endif
* Module: Student.cpp
#include "stdafx.h"
#include "Student.h"
#include<string>
#include<iostream>
void Student::study_at_univer(void)
{
// TODO : implement
}
void Student::working_on_a_project(void)
{
// TODO : implement
}
void Student::conducts_research(void)
{
// TODO : implement
}
* Module: University.h
#if !defined(__ClassDiagram_University_h)
#define __ClassDiagram_University_h
#include<string>
#include<iostream>
class Student;
class Professor;
class University
{
public:
void implement_projects(void);
void create_special_departments(void);
void create_conditions_for_project_implementation(void);
void generate_new_technology(void);
Student** student;
Professor** professor;
protected:
private:
std::string name;
int number_of_students;
int number_of_teachers;
int number_of_faculties;
};
#endif
* Module: University.cpp
#include "stdafx.h"
#include "Professor.h"
#include "Student.h"
#include "University.h"
#include<string>
#include<iostream>
void University::implement_projects(void)
{
// TODO : implement
}
void University::create_special_departments(void)
{
// TODO : implement
}
void University::create_conditions_for_project_implementation(void)
{
// TODO : implement
}
void University::generate_new_technology(void)
{
// TODO : implement
}
|