Long shot
This commit is contained in:
parent
abbf714841
commit
5304ff8c29
@ -117,6 +117,8 @@
|
|||||||
} else if (strcmp(input, "RESULT") == 0) {
|
} else if (strcmp(input, "RESULT") == 0) {
|
||||||
node *holes = get_holes( umem_head);
|
node *holes = get_holes( umem_head);
|
||||||
print_memory( umem_head, holes);
|
print_memory( umem_head, holes);
|
||||||
|
} else if (strcmp(input, "START") == 0) {
|
||||||
|
begin_output_example();
|
||||||
} else {
|
} else {
|
||||||
kprint("You said: ");
|
kprint("You said: ");
|
||||||
kprint(input);
|
kprint(input);
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
void user_input(char *input);
|
void user_input(char *input);
|
||||||
node* get_holes(node *enum_head);
|
node* get_holes(node *enum_head);
|
||||||
void print_memory(node *umem_head, node *hole_head);
|
void print_memory(node *umem_head, node *hole_head);
|
||||||
|
void begin_output_example();
|
||||||
int digit_len(unsigned digit);
|
int digit_len(unsigned digit);
|
||||||
int digit_conver(const char *str);
|
int digit_conver(const char *str);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user