How do I read one character from stdin? (getc in C)
Fer22f via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Nov 14 05:33:47 PST 2015
Hello! I'm starting to make some simple command line programs and
one thing I miss from C is a function for getting one character
from the input. This is for example, an "Press Any Key Program".
Anyone that has more experience can point me into a solution that
is not deprecated? I haven't even researched about the deprecated
options but looked into all free available D books I could find
and I only found ways to get entire lines (even if it's just one
character I still need to press enter).
More information about the Digitalmars-d-learn
mailing list