(January 27, 2018 at 11:40 am)KevinM1 Wrote: When I was learning C++ back in the day, I never got to threaded programming. The most I did were programs that highlighted the usage of various, simple data structures (linked lists, stacks, queues, that sort of thing).
So, honestly (no snark), thanks for pointing that out.
Question: I keep seeing people refer to libraries like Boost for everything from better/safer memory management to string helper functions. Is there a go-to library? Or are they all more or less equal with their own pros and cons?
When I design a program, I originally abstract from using anything more than the language own primitives. Let us say I have a chess game, I would code the board, code different piece habilities, allowed moves etc, then depend on a GUI class of my own, abstracted, so that display can be coded as the OS is concerned. Console, SDL, Allegro etc are much cross plattform and would do a good job in making a chess game, but the art is in the implementation.
For the most part, people using Boost with C++ would be better off using Java. Java already has the framework to memory management, strings (heh, std:

The only reason I hang to C++ is for its native run from C and control precisely my memory usage. Yeah, I am from the time personal computers had lower ram than the cheapest of cell phones today. Most compilers will even optimise code on their own. I like to control my code.
It really depends what are the aims. I am making a tool to help players analise mafia games. I will first define what those tools are, then worry about the display. (usint console at the moment, as its simplier to test for bugs).