Re: Quick Question

From: Victor Bazarov (v.Abazarov_at_comAcast.net)
Date: 02/03/04


Date: Tue, 03 Feb 2004 19:50:23 GMT


"Carter" <cjcastor@phreaker.net> wrote...
> How do you make the output of a c++ program be interpreted as a UNIX
> command? Example, what would a program that executed ls look like?

You should probably use 'system' function.