[wellylug] Programming Question

Jonathan Harker jharker at massey.ac.nz
Mon Dec 1 10:24:15 NZDT 2003


Grant McLean wrote:

> Jethro Carr wrote:
> 
>> How can I use a variable for the input, ie:
>>
>> system("touch <variable>");
> 
> 
> In Perl:
> 
>   system("touch $variable");
> 
> Seriously, for the stage you're at, I think Perl would be an excellent 
> choice of language.

Okay, keep the language wars out of this, he wants to know how to do it in C 
and C++.

Jonathan.





More information about the wellylug mailing list