How to call ReadConsoleInputW using Zig in Windows
ReadConsoleInputW can be used to mimic kbhit() C function found in Borland C/C++.OS: Windows 10 22H2
Zig: 0.12
Compile ReadConsoleInputW.zig:
PS C:\prj> zig build-exe -lc .\ReadConsoleInputW.zig
SBCL Hello, world! Version info: - OS: Windows 11 23H2 (Microsoft Windows [Version 10.0.22631.7079]) - Emacs: 30.2 - SBCL : 2.6.4 - SLI...
No comments:
Post a Comment