Procedural Mesh Generation

I want to create a procedural and simple table with chairs in 3D via C++. Can you give me advice? I’m new to procedural mesh generation. Thanks for the help.

Why do you want to do that instead of modelling it in an external program?