For my little program to run, it needs to open a file, read the contents then display it. easy yes...
However I need to hardcode this path of the file in.
But the location of the file is different from OS to OS, I want it to work in Linux primarily, however I need to find a way of detecting for Mac OS X??
Is there a little function I can call that will determine the OS type?
or is there a way I can make a function?