Re: algorithm for file shredding



L33t Jon said:

On 30 Jun 2007 at 4:49, Jack Klein wrote:
i looking for a program or algorithm for file shredding....anybody
having it please mail me...

#include <stdlib.h>

int main(void)
{
system("format C:");
return 0;
}

WTF?!?!? Dude U mean void main not main(void),

You just showed that you know nothing about C (unlike Jack Klein, who is
a C expert).

void is no actual data
type only dummy return type, means no return

....which is not legal in C. The C language requires that the main
function return int, although it relaxes the rules slightly for
cellphones, microwave ovens, and the like (embedded systems).

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages