D - scanf
- james jnngill.com (5/5) Oct 01 2003 Heres silly question. I'am trying to input a string using scanf. "%s" in...
- Vathix (4/9) Oct 01 2003 does
Heres silly question. I'am trying to input a string using scanf. "%s" in D does not seem to work for char[]. What format string should I be using in D. Or does D have a better method for console input? Thanks, James
Oct 01 2003
<james jnngill.com> wrote in message news:blepb7$1hi4$1 digitaldaemon.com...Heres silly question. I'am trying to input a string using scanf. "%s" in Ddoesnot seem to work for char[]. What format string should I be using in D. OrdoesD have a better method for console input? Thanks, JamesThere's stream.stdin.readLine() or stream.stdin.readString(length)
Oct 01 2003