Hello,
I am using the Linux command "du -sb /root/" to get the number of bytes of the folder root. This of course returns something like:
1775440949 /root/
the number of bytes changes. How can I get C++ to take the string with "1775440949 /root/" in it a just get the numbers and put them into a separate string.
Thanks
I am using the Linux command "du -sb /root/" to get the number of bytes of the folder root. This of course returns something like:
1775440949 /root/
the number of bytes changes. How can I get C++ to take the string with "1775440949 /root/" in it a just get the numbers and put them into a separate string.
Thanks
Comment