String To Lower/Upper in C++

前端 未结 10 1942
挽巷
挽巷 2020-12-08 20:10

What is the best way people have found to do String to Lower case / Upper case in C++?

The issue is complicated by the fact that C++ isn\'t an English only programmi

10条回答
  •  失恋的感觉
    2020-12-08 20:52

    If you have Boost, then it has the simplest way. Have a look at to_upper()/to_lower() in Boost string algorithms.

提交回复
热议问题