/* * This is txt2morse * Written by Bernhard Guillon under the terms of the GPL. */ #include int main() { int c; int zaehler = 0; while((c = getchar()) != EOF) { switch(c) { case (c == ' ') : putchar('/'); break; } } }