I am really not trying to beat a dead horse here lol but this is another example, at least to me, as to changing things up with out properly addressing why it was done. While I do understand the the issue of white space. It would be good to understand why it was done this way rather then the other.
Example shown here:
Again shows the “double” word in the array when we used “int” the code in the previous discussion. I understand the whitespace so I was a bit surprised it was listed like that in the example. I would assume that is the correct way to make your code more readable going forward. Which I for one really want to incorporate best practices so I don’t confuse myself lol.
There is also the wording in the loop, where it says double dmg = damage, why is the word damage shortened??? Just so it all fits on the screen??
Again I am just looking for some clarification on this so I have a good solid basic understanding of c++. Thanks and I am totally new to this so any clarification goes a very long way.