So,first off, congrats on wanting to learn something new. That’s a great way to keep the old brain humming along nicely.
That said, my first thought was that you’re trying to learn four or five things all at once (C++, FLTK, yaml-cpp, cmake, git and git automation, etc.) That’s a lot.
Start with one thing, get reasonably comfortable with that, then add something else to the mix. I’m a writer (mostly in plain text) and find that git is a great way to track and version my writing, so you might consider that as a first step.
As an educator, I can say that one-and-done memorization seldom works (Okay, it worked at 16, but you’re not 16 anymore!). Rather than trying to just memorize stuff, stop and think about what you’re learning. Try to understand the ‘why’ behind it. What does that command do? Why are these variables needed? How do I make x happen? This kind of questioning as you’re learning helps you to understand it and also helps you memorize the concept it self. (Understanding the ‘why’ is at the core of adult learning theory, just so you know
)
Repetition of concepts – repeatedly using the same commands – builds recall. With that in mind you’ll want to work through multiple tutorials with projects in your chosen language to help build your recall of the commands and functions.
Finally, give yourself some grace. You’ve only just started learning something that, it seems, is wholly out of your wheelhouse. Most of us older folks learn new things by building on things we already know because they’re related to our work. Shifting gears to learn something that is entirely new requires that we call on learning skills that are pretty rusty. It takes a bit more time to limber up those learning muscles.(mixed my metaphors there, but you get the idea!) There is absolutely no reason why you cannot learn a new language but it may just take a little more time and a little more effort. The nice thing is, at least in my observations, the more you learn the easier it becomes to learn.
Good luck on your journey!