Task 5 is done

This commit is contained in:
AZEN-SGG 2025-05-18 20:07:48 +03:00
parent cd08e7ba3a
commit 31810f5090
18 changed files with 563 additions and 1 deletions

16
2025.05.23/03Ex/status.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef STATUS_H
#define STATUS_H
#define ERR_MSG_MEM "Error: Not enough memory"
#define ERR_MSG_OPEN "Error: Cannot open file"
#define ERR_MSG_READ "Error: Cannot read file"
typedef enum
{
SUCCESS,
ERR_OPEN = -1,
ERR_READ = -2,
ERR_MEM = -3
} io_status;
#endif