I am writing a program in c++ in which i am creating and manipulating a binary file. Now normally in windows the file is created in the same folder as the source code. But on osx (compiling from the terminal) its seems as if the file is not even created (it doesn't show up in spotlight). Do i have to specify a path to which i want to store the file, or what am i doing wrong?