In c++, where should constant strings be placed?

For what purpose? You can define static const strings or FNames in cpp files (doesn’t have to be part of a class or interface). If you’re thinking about localization, this page might be helpful Text Localization | Unreal Engine Documentation