It's pretty easy, even look for yourself :mege:
buf[temp] = !iswcntrl((*p) & 0xff) ? (*p) & 0xff : '.';
But in all seriousness, download Visual Studio, which supports Mac, and start on "Visual Basic .NET". Search up tutorials for it on Youtube and you should be good to go.