du5
This commit is contained in:
parent
b488da5751
commit
3c4cc5c190
@ -3,6 +3,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define SIZE 256
|
#define SIZE 256
|
||||||
|
int error = 0;
|
||||||
|
|
||||||
typedef struct Tree {
|
typedef struct Tree {
|
||||||
char text[SIZE];
|
char text[SIZE];
|
||||||
@ -14,7 +15,6 @@ typedef struct Tree {
|
|||||||
// читання дерева (preorder)
|
// читання дерева (preorder)
|
||||||
Tree* readTree() {
|
Tree* readTree() {
|
||||||
char line[SIZE];
|
char line[SIZE];
|
||||||
int error = 0;
|
|
||||||
|
|
||||||
if (fgets(line, SIZE, stdin) == NULL) return NULL;
|
if (fgets(line, SIZE, stdin) == NULL) return NULL;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user