mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 14:23:15 +02:00
I made it work!
This commit is contained in:
parent
003ce0e5bb
commit
b60deaa1c5
2
employee.cpp
Executable file → Normal file
2
employee.cpp
Executable file → Normal file
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
#include "employee.hpp"
|
#include "employee.hpp"
|
||||||
#include "equipment.hpp"
|
#include "equipment.hpp"
|
||||||
|
#include "good.hpp"
|
||||||
|
#include "warehouse.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
Employee::Employee(): equipmentTraining(CERTIFICATES), hazardTraining(HAZARDS),
|
Employee::Employee(): equipmentTraining(CERTIFICATES), hazardTraining(HAZARDS),
|
||||||
|
|||||||
0
employee.hpp
Executable file → Normal file
0
employee.hpp
Executable file → Normal file
3
equipment.cpp
Executable file → Normal file
3
equipment.cpp
Executable file → Normal file
@ -1,6 +1,9 @@
|
|||||||
#ifndef EQUIPMENT_CPP
|
#ifndef EQUIPMENT_CPP
|
||||||
#define EQUIPMENT_CPP
|
#define EQUIPMENT_CPP
|
||||||
|
#include "employee.hpp"
|
||||||
#include "equipment.hpp"
|
#include "equipment.hpp"
|
||||||
|
#include "good.hpp"
|
||||||
|
#include "warehouse.hpp"
|
||||||
|
|
||||||
#ifndef DIMENSION
|
#ifndef DIMENSION
|
||||||
#define DIMENSION 3
|
#define DIMENSION 3
|
||||||
|
|||||||
0
equipment.hpp
Executable file → Normal file
0
equipment.hpp
Executable file → Normal file
3
good.cpp
Executable file → Normal file
3
good.cpp
Executable file → Normal file
@ -1,6 +1,9 @@
|
|||||||
#ifndef GOOD_CPP
|
#ifndef GOOD_CPP
|
||||||
#define GOOD_CPP
|
#define GOOD_CPP
|
||||||
|
#include "employee.hpp"
|
||||||
|
#include "equipment.hpp"
|
||||||
#include "good.hpp"
|
#include "good.hpp"
|
||||||
|
#include "warehouse.hpp"
|
||||||
|
|
||||||
#ifndef DIMENSION
|
#ifndef DIMENSION
|
||||||
#define DIMENSION 3
|
#define DIMENSION 3
|
||||||
|
|||||||
6
main.cpp
Executable file → Normal file
6
main.cpp
Executable file → Normal file
@ -1,8 +1,12 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "employee.cpp"
|
#include "employee.hpp"
|
||||||
#include "equipment.hpp"
|
#include "equipment.hpp"
|
||||||
#include "good.hpp"
|
#include "good.hpp"
|
||||||
#include "warehouse.hpp"
|
#include "warehouse.hpp"
|
||||||
|
#include "employee.cpp"
|
||||||
|
#include "equipment.cpp"
|
||||||
|
#include "good.cpp"
|
||||||
|
#include "warehouse.cpp"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
Once I figure out how I made it work I will make it work
|
To compile it just write:
|
||||||
|
g++ main.cpp
|
||||||
|
|||||||
3
warehouse.cpp
Executable file → Normal file
3
warehouse.cpp
Executable file → Normal file
@ -17,6 +17,9 @@
|
|||||||
#define CERTIFICATES 10
|
#define CERTIFICATES 10
|
||||||
#endif // CERTIFICATES
|
#endif // CERTIFICATES
|
||||||
|
|
||||||
|
#include "employee.hpp"
|
||||||
|
#include "equipment.hpp"
|
||||||
|
#include "good.hpp"
|
||||||
#include "warehouse.hpp"
|
#include "warehouse.hpp"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
0
warehouse.hpp
Executable file → Normal file
0
warehouse.hpp
Executable file → Normal file
Loading…
Reference in New Issue
Block a user