How to generate Planet without plugins?!

Can i generate prcodeual planets without plugins. In c++ with auto generated caves, rivers, vegetation and resources??

Youre asking for a several-hundred page manual, not a quick Answerhub reply.
But maybe someone here knows some resources to get you started.

Not only that there 1000s ways to do it depending on needs