StudyPlanner/doc/docu.md

30 lines
603 B
Markdown
Raw Normal View History

# Data strucures
Possible data structure layout
```C
typedef struct Subject{
char * name;
time_t * created;
time_t * deadline;
2024-12-09 21:12:41 +01:00
int priority;
unsigned long long spare;
} Subject;
2024-12-09 21:12:41 +01:00
typedef struct Event {
2024-12-09 21:12:41 +01:00
Subject subject;
time_t plannedStartTime;
time_t plannedEndTime;
unsigned long long spare;
}Event;
```
## Functionality
Day plan can either be crated from user input or read from file to continue previous day.
priority and available time are used to create dayplan which is exported as iCal
after task is completed and priorities are updated for next day and stored in file.