Pure Programmer
Blue Matrix


Cluster Map

Project: Alphabetic Only Filter

Write a filter program that only allows alphabetic characters to pass through. Any non-alphabetic characters should be removed from the output stream.

Output
$ rustc AlphabeticOnlyFilter.rs error[E0425]: cannot find function `getcodepoint` in this scope --> AlphabeticOnlyFilter.rs:10:8 | 10 | while getcodepoint(cp) { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `isalpha` in this scope --> AlphabeticOnlyFilter.rs:11:6 | 11 | if isalpha(cp) { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `putcodepoint` in this scope --> AlphabeticOnlyFilter.rs:12:4 | 12 | putcodepoint(cp); | ^^^^^^^^^^^^ not found in this scope error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0425`. $ rustc AlphabeticOnlyFilter.rs error[E0425]: cannot find function `getcodepoint` in this scope --> AlphabeticOnlyFilter.rs:10:8 | 10 | while getcodepoint(cp) { | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `isalpha` in this scope --> AlphabeticOnlyFilter.rs:11:6 | 11 | if isalpha(cp) { | ^^^^^^^ not found in this scope error[E0425]: cannot find function `putcodepoint` in this scope --> AlphabeticOnlyFilter.rs:12:4 | 12 | putcodepoint(cp); | ^^^^^^^^^^^^ not found in this scope error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0425`.

Solution