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
#include <iostream> #include <csignal> #include <ctime> #include <cerrno> #include <cstring> #include <unis...
No comments:
Post a Comment