On Sat, Nov 14, 2009 at 12:15 AM, Andrew Ross <andrewr...@users.sourceforge.net> wrote: > The temporary file will be created in the directory given by TMPDIR (UNIX) or > TEMP (windows) if they are set. Otherwise it will try P_tmpdir (if defined). > Finally it will try the default /tmp (UNIX) or c:\windows\temp (windows) > directory.
If you are already using conditional compilation for different platforms, you could try using Windows API functions designed for the task: http://msdn.microsoft.com/en-us/library/aa363875%28VS.85%29.aspx Dmitri -- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel