Mercurial > hg > Papers > 2017 > ikkun-osc
view 3_generation/scripts/generation.pl @ 16:87d79fc7f1cf draft
add generation
author | ikkun |
---|---|
date | Sat, 17 Jun 2017 11:36:23 +0900 |
parents | |
children |
line wrap: on
line source
open my $fd,">","hello.c" or die("can't open $hello.c $!"); print $fd "#include<stdio.h>\n\n "; print $fd "int main() "; print $fd "{\n"; print $fd "\tprintf(\"hello generation\\n\");\n"; print $fd "\treturn 0;\n"; print $fd "}\n";