How to read a single character in D language?

Alexey animuspexus at protonmail.com
Wed Nov 24 04:51:03 UTC 2021


On Wednesday, 24 November 2021 at 04:48:46 UTC, Alexey wrote:
> 		writefln(0x"%c (%1$x %1$d) is inputed", c);
sorry:
```diff
10c10
< 		writefln(0x"%c (%1$x %1$d) is inputed", c);
---
> 		writefln("%c (0x%1$x %1$d) is inputed", c);
```


More information about the Digitalmars-d-learn mailing list