extract a directory recursively from a tar.gz with c++ [closed]

  archive, c++, extract

I am trying to unpack a tar.gz archive with c++.
The archive contains files and folders with subfolders containing files. I’m now looking for a way to unpack it recursively to disk. Since I don’t know c++ well I would be glad if someone could send me a sample code. The example should be as cross-platform as possible. I have also searched the internet for solutions, but I could not find a complete one.
I thank you in advance.

Source: Windows Questions C++