How to get a file's content in zig 0.17.0?
i've just started using zig about 3 days ago. i'm trying to build a little program for practice. the program should take in a filename as a command line argument, then read the contents of that file and count how many words there are.
but i cannot figure out for the life of me how to read the contents of a file. all the information i'm seeing online seems to be wrong and outdated.
i'm completely new to low level programming so this has been pretty daunting. i thought this should be a pretty simple task.