I am trying to run uptime and a few other simple command-line tools on my linux box and grab the output as a stdstring
string, that is
why don't you see what uptime does rather than run an external program?
i want to run a few different commands and I don't want to reimplement them all
hi
i got toFile.push_back("1 ");
toFile is a vectorstring
i want to put a number in it
so i need something as tostring
but cant find it
what should i use
!fs conversion
No keys matching "conversion" found.
"converting"
!fs stream
"fdstream", "iostream", "iostream.h", "istrstream", "std