Crate cmasfo_dev

Source

Macros§

msg_line
Use printfl! macro then call get_line function. This is useful if you want to get a string after you print some message at the same line.
printfl
While print! macro needs additional flushing, this printfl! macro automatically flushes it.

Functions§

flush
This flushes the buffered string. Use this after you use print! macro. This uses std::io::stdout().flush method. This panics if flush method returns an error.
flushln
Same with println! macro with no argument. This is made just for intuitive use.
get_line
This uses std::io::stdin().read_line method and return the string. Unlike read_line method, this does not append to the given string, and it is automatically trimmed.