doubt???? urgent

How to embed a shell script into a C++ program...do kinbdly help me by giving an example....

Thanking you...

U probably have to try start using "system" call.

For example, following excecutes ls command.

system( "ls ");