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).
How do I read one character from stdin? (getc in C)
Fer22f via Digitalmars-d-learn Sat, 14 Nov 2015 05:35:56 -0800
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".
- How do I read one character from s... Fer22f via Digitalmars-d-learn
- Re: How do I read one charact... BBaz via Digitalmars-d-learn
- Re: How do I read one cha... Fer22f via Digitalmars-d-learn
- Re: How do I read one charact... Nicholas Wilson via Digitalmars-d-learn
- Re: How do I read one charact... Adam D. Ruppe via Digitalmars-d-learn
- Re: How do I read one cha... Fer22f via Digitalmars-d-learn
- Re: How do I read one... Adam D. Ruppe via Digitalmars-d-learn
