how to get system or user temp folder in unix and windows?
<p>I am writing a C++ problem. It need to work on both Windows and Unix OS.</p>

<p>How to get user or system tmp folder on different OS?</p>
