Project: Hexadecimal Filter
Write a filter program that converts the input stream from bytes to hexadecimal representation. Always print two heaxadecimal digits per byte. Print at most 64 hexadecimal digits per line.
Output
$ rustc HexadecimalFilter.rs
error[E0425]: cannot find value `cin` in this scope
--> HexadecimalFilter.rs:10:10
|
10 | binmode(cin);
| ^^^ not found in this scope
error[E0425]: cannot find function `binmode` in this scope
--> HexadecimalFilter.rs:10:2
|
10 | binmode(cin);
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `getbyte` in this scope
--> HexadecimalFilter.rs:14:8
|
14 | while getbyte(c) {
| ^^^^^^^ not found in this scope
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0425`.
$ rustc HexadecimalFilter.rs
error[E0425]: cannot find value `cin` in this scope
--> HexadecimalFilter.rs:10:10
|
10 | binmode(cin);
| ^^^ not found in this scope
error[E0425]: cannot find function `binmode` in this scope
--> HexadecimalFilter.rs:10:2
|
10 | binmode(cin);
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `getbyte` in this scope
--> HexadecimalFilter.rs:14:8
|
14 | while getbyte(c) {
| ^^^^^^^ not found in this scope
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0425`.
$ rustc HexadecimalFilter.rs
error[E0425]: cannot find value `cin` in this scope
--> HexadecimalFilter.rs:10:10
|
10 | binmode(cin);
| ^^^ not found in this scope
error[E0425]: cannot find function `binmode` in this scope
--> HexadecimalFilter.rs:10:2
|
10 | binmode(cin);
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `getbyte` in this scope
--> HexadecimalFilter.rs:14:8
|
14 | while getbyte(c) {
| ^^^^^^^ not found in this scope
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0425`.