linux find size of directory and subdirectories

C++
du -s /home/george


Source

Also in C++: