10 int main( int argc
, char ** argv
)
12 for( int i
= 1; i
< argc
; i
++ )
16 argv
[i
][strlen(argv
[i
])-4] = '\0';
17 sout
<< "hexdump -bv " << argv
[i
] << ".raw | hex2cpp " << argv
[i
] << " > " << argv
[i
] << ".c++";
18 system( sout
.str().c_str() );
19 cout
<< sout
.str() << endl
;