Vazzdoin April 13, 2009 at 00:14:28 Specs: Linux i686
Hi can any one tell me how to store a system() call result in a string in c++ like as , string s = system("pwd"); As such this dosn't work as the pwd is not stored in string s. Is there any other way to store the system() call result in a string. Plz reply if any one could help me to solve that problem . thanks.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.