baum
changeset 14:15e11eea1c66
input says now that it wants an input
author | meillo@marmaro.de |
---|---|
date | Wed, 13 Feb 2008 09:16:01 +0100 |
parents | bf660b45bba9 |
children | e2048e569891 |
files | actions.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/actions.c Wed Feb 13 09:13:02 2008 +0100 1.2 +++ b/actions.c Wed Feb 13 09:16:01 2008 +0100 1.3 @@ -74,6 +74,7 @@ 1.4 unsigned char action_input(struct Node* node) { 1.5 /* reads a number which is treated as ASCII value */ 1.6 int input; 1.7 + printf("input: "); 1.8 scanf("%d", &input); 1.9 input = input % 256; 1.10 insertLast(node, newNode("number", (char) input));