Monday, May 13, 2024

How to call ReadConsoleInputW using Zig in Windows

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

No comments:

Installing QNX 6.4.1 on Ubuntu 20.04

Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...