9
with open(sys.argv[1]) as f:
10
val = f.read().strip()
13
outhdr = os.path.join(outdir, 'source%s.h' % val)
14
outsrc = os.path.join(outdir, 'source%s.cpp' % val)
16
with open(outhdr, 'w') as f:
17
f.write('int func%s();\n' % val)
18
with open(outsrc, 'w') as f:
19
f.write('''int func%s() {