Settlements C++ (A Worldbuilding Tool) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Settlements C++ (A Worldbuilding Tool)

https://code.sololearn.com/cOcXETLFot0Q/#cpp A piece of C++ code that allows the user to create a random settlement of varying size and culture (referred to as nations in the code) as well as generate names, gender, wealth, and age for every single member of the population. This can be adjusted to add races for D&D systems if you want to use it as a worldbuilding tool, I plan on adding some way to export the contents as a .csv so you can them import the settler data into a spreadsheet. Recommend using another online IDE and not codeplayground for testing, inline console inputs make this work far better. Enjoy!

3rd Oct 2019, 1:48 PM
Sam Russell
Sam Russell - avatar
3 Answers
+ 5
Hey Sam Russell! Your code is really great but the Q&A section is for questions only and not for advertising.
3rd Oct 2019, 2:33 PM
Jayden LeCorps
Jayden LeCorps - avatar
+ 2
@Jayden LeCorps, I noticed there are quite a few advertising threads a short while after making my post here. Unfortunately SoloLearn's Q&A forum is labelled as a discussion forum by the site's GUI, and there are many posts that don't fall under the Q&A format, but I'll keep in mind to stick to the advertising threads in the future.
3rd Oct 2019, 2:42 PM
Sam Russell
Sam Russell - avatar