Compare commits
2
Commits
1216c17b87
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f720ca31d3
|
||
|
|
104ee954f4
|
No files matched your search
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Build Process
|
## Build Process
|
||||||
```sh
|
```sh
|
||||||
mkdir build
|
git clone https://git.gandc.ru/gandc/pr2_sysprog.git && cd pr2_sysprog
|
||||||
cd build
|
mkdir build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#include "error_handling.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
FILE *open_error_file(const char *path) {
|
|
||||||
FILE *file = fopen(path, "w");
|
|
||||||
if (!file) {
|
|
||||||
fprintf(stderr, "Error: Cannot open error file %s\n", path);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
return file;
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#ifndef ERROR_HANDLING_H
|
|
||||||
#define ERROR_HANDLING_H
|
|
||||||
#include <stdio.h>
|
|
||||||
FILE *open_error_file(const char *path);
|
|
||||||
#endif
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#include "logging.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
FILE *open_log_file(const char *path) {
|
|
||||||
FILE *file = fopen(path, "w");
|
|
||||||
if (!file) {
|
|
||||||
fprintf(stderr, "Error: Cannot open log file %s\n", path);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
return file;
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#ifndef LOGGING_H
|
|
||||||
#define LOGGING_H
|
|
||||||
#include <stdio.h>
|
|
||||||
FILE *open_log_file(const char *path);
|
|
||||||
#endif
|
|
||||||
Reference in new issue
Block a user