Um.
The first page when you google "Delta encoding" is Wiki:
Delta encoding - Wikipedia, the free encyclopedia[
^] which includes sample code in C.
If you can't cope with implementing a trivial piece of code like that - which should be pretty obvious even if you don't specifically know anything but C# - then to be honest I'd suggest that you are trying to run before you can walk. Backups are serious business: and you shouldn't attempt to write a backup system of your own unless you are very, very sure that you know what you are doing. Remember, you will be using this (and you'll probably be the
only person using it) to save your work in the event of a major failure (or even accidental deletion) - and the last thing you need at that point is to find a bug in your code that means you didn't back up properly, or that the exe you need to restore from the backup is ... only in the backup file ...
I know what I'm doing - or I like to think so - and I use a commercial backup package (AOMEI Backupper) rather than write my own for just that reason! :laugh:
In all seriousness, I'd strongly recommend you find a project that is a lot less mission critical until you have a good deal of experience under your belt - backups are a serious business and should be treated as such.