digitalmars.D.learn - Input
- Jason (10/10) Jul 05 2006 How do i do the following in D?
- Jarrett Billingsley (9/18) Jul 05 2006 import std.cstream;
How do i do the following in D? #include <iostream> int main() { int i; cin >> i; cout << "number: " << i; return 0; } thanks
Jul 05 2006
"Jason" <Jason_member pathlink.com> wrote in message news:e8grq3$f2f$1 digitaldaemon.com...How do i do the following in D? #include <iostream> int main() { int i; cin >> i; cout << "number: " << i; return 0; }import std.cstream; void main() { int i; din.readf(&i); dout.writefln("number: ", i); }
Jul 05 2006