Hi

I want to write a file shredder in C++. What I know is that I need to overwrite things with 0 but I am not very much clear on this. What concepts should I know to program it ?

You should start by trying to understand the layers (and layers) of abstraction that build up from sectors of tracks on a spinning disk to the idea of a 'file'. ... and you should spend a little time searching the web. For instance look for file shredder source code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.