creating and writing to a file

I created a program that writes data to a file. When i create that file on my mac the file that I created cannot be located. The same program when done on my pc using visual studio creates a txt file on my harddrive. I was wondering is it a linux problem or a mac problem for me? or am i doing something wrong.
hmm, don't think it's a linux or windows thing.. It's probably not a mac thing either, but I've never programmed on one... I just looked at someone adding files to the desktop online, and they had a problem, but just with resolving location. Maybe you are missing something. Do you have a little code to look over or pseudo-code?
We'll need to see the code.
You also need to check if you have write permission to create that file.
Topic archived. No new replies allowed.