baum
diff actions.c @ 48:f9fc4c4f9e3d
documented nodes in man page
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 11:04:52 +0100 |
parents | c31b5bb6d493 |
children | 0870e261bf28 |
line diff
1.1 --- a/actions.c Sun Mar 02 10:34:09 2008 +0100 1.2 +++ b/actions.c Sun Mar 02 11:04:52 2008 +0100 1.3 @@ -74,13 +74,11 @@ 1.4 1.5 1.6 unsigned char action_input(struct Node* node) { 1.7 - /* reads a number which is treated as ASCII value */ 1.8 int input; 1.9 printf("input: "); 1.10 scanf("%d", &input); 1.11 input = input % 256; 1.12 insertLast(node, newNode("number", (char) input)); 1.13 - 1.14 return 0; 1.15 } 1.16