changeset 27 | 81a574d60c15 |
parent 9 | c3fecc82ade6 |
child 77 | 49e0babccb23 |
26:d227047a3e88 | 27:81a574d60c15 |
---|---|
15 } |
15 } |
16 |
16 |
17 int main (int argc, char **argv) |
17 int main (int argc, char **argv) |
18 { |
18 { |
19 char buffer[81]; |
19 char buffer[81]; |
20 |
|
20 int counter = 0; |
21 int counter = 0; |
22 |
|
21 FILE *f; |
23 FILE *f; |
24 |
|
22 int c, pure = 0; |
25 int c, pure = 0; |
23 |
26 |
24 while ((c = getopt (argc, argv, "hp")) != -1) { |
27 while ((c = getopt (argc, argv, "hp")) != -1) { |
25 printf ("Zeichen: %c\n", c); |
28 printf ("Zeichen: %c\n", c); |
26 switch (c) { |
29 switch (c) { |