Dear monks,
Thank you all! My codes would run under unix command line.
For example, the following segments say "HELLO WOULD!".
#!/usr/bin/perl
&run;
exit(0);
sub run
{
system("gcc code.cpp");
system("a.out/>result.txt");
open(F,"result.txt");
while(<F>)
{
print $_,"\n";
}
close(F);
}
#####################################
But the system call never respondes to online inputs.
I would like you monks to focus on this call.
To Roy, "a.out/" is good for my machine.
littlefishr