[Insight-developers] BCC compiler issue
Lorensen, William E (Research)
lorensen@crd.ge.com
Wed, 12 Feb 2003 07:22:22 -0500
On the SGI there is no cstdio. remove is in stdio.h.
On Borland, remove is also in stdio.h.
-----Original Message-----
From: Hans Johnson [mailto:hjohnson@mail.psychiatry.uiowa.edu]
Sent: Tuesday, February 11, 2003 7:01 PM
To: Insight-developers@public.kitware.com
Subject: [Insight-developers] BCC compiler issue
Hello,
Could somebody with the Borland compiler please tell us the cross
platform function call used to delete a file?
I believe that the following program should do it:
#include <cstdio>
int main ( int argc, char ** argv)
{
std::remove("testfile");
}
Will you please test that the above code works?
I beleive that this should work cross platform, because the remove
function is part of the ANSI C standard.
Thanks,
===================================================================
Hans J. Johnson W294 GH
hans-johnson@uiowa.edu Dept. of Psychiatry
http://www.psychiatry.uiowa.edu/~hjohnson The University of Iowa
(319) 353-8587 Iowa City, IA 52242
===================================================================
_______________________________________________
Insight-developers mailing list
Insight-developers@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers