Robert Smith said:
in a c++ program i want to run the command uuidgen and get its value and
store it in a string varible so i can use it later.
How can i do this?
I am running redhat 9
There is no such thing as 'uuidgen' in standard C++, the subject
of this newsgroup. Perhaps you will find more information on this
if you visited comp.os.linux.development.apps (or something like
that) if you expect the newsgroup to know what 'uuidgen' is.
In general, if you have a function that returns a string (like, say,
std::strcat, for example), then you can call it with appropriate
arguments and get the string back and store it for later use. Since
'uuidgen' is not a standard function, nothing can be said about it.
V