Mercurial > 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 wrap: on
line diff
--- a/actions.c Wed Feb 13 09:13:02 2008 +0100 +++ b/actions.c Wed Feb 13 09:16:01 2008 +0100 @@ -74,6 +74,7 @@ unsigned char action_input(struct Node* node) { /* reads a number which is treated as ASCII value */ int input; + printf("input: "); scanf("%d", &input); input = input % 256; insertLast(node, newNode("number", (char) input));