Compiling helloworld.c C application using Zig
Zig can be used to compile C source code. Below shows a very simple C source code, helloworld.c. Copy and save this to a file, say, in C:\hello-c\helloworld.cTo compile using Zig, do:
PS C:\hello-c> zig cc .\helloworld.c -o helloworld.exe
No comments:
Post a Comment