Ad
  • Default User Avatar

    From my previous solution, I substituted the append() method with push_back(). push_back() allows me to not have to create a new string object of a single character each time in the loop.

  • Default User Avatar

    From the previous solution, I removed the std::locale parameter from toupper. I didn't realize that was an optional paramter.