title: How to create a text file in a folder on the desktop
body: <p>I have a problem in my project. There is a project folder on my desktop. I want to create a text file and write something include this text file. That is my code:</p>
  
  <p><code>ofstream example("/Users/sample/Desktop/save.txt");</code></p>
  
  <p>But I want to it could been run the other mac. I don't know what I should write addres for save.txt.</p>
  
  <p>Can anyone help me?</p>