So I am trying to write a menu driven program. I have the menu down and displays just how I want it. But I was wondering if there is a way to call functions from within a map?
I have seen examples using lambdas but that is a little over my head at this point. Are there any alternatives to calling functions from a map?
I was using the following code. It does what I want. I had help with it and kinda just threw it together until it was working. Not really ideal. So, I went back to the basics tried building up again, thinking "there has got to be a more simple way."