LoginSignup
4
0

More than 5 years have passed since last update.

Nimで改行しない標準出力

Posted at

stdout.write(もしくはwrite stdout)を使います。

stdout.write "input: "
let text = readLine stdin

echo "your input text ", text
$ nim c -r sample2.nim
input: foobar
your input text foobar
4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0