blob: 603ea96e58e17ef0e3bdbc127f0b59a37630d00e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <Kermit>
#include <iostream>
#include <fstream>
#include <string>
#define LINE "12345678,Clean: (73 50 73 50 73 50 73 50), (0 0 0 0 0 0 0 0)"
int main ()
{
const string dump_f = string ("DUMP_FILE");
/*
unsigned short x = 8;
unsigned int y = 0x12345678;
unsigned char z[] = "\x73\x50\x73\x50\x73\x50\x73\x50";
Patch *foo = new Patch (z, x, y);
*/
Patch *foo = new Patch (string (LINE));
foo->dump (dump_f);
return 0;
}
|