Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您需要const在变量和函数的声明中添加限定符来解决此问题:
const
const char* decodeCode(const char* encodedString) { .... const char* a = encodedString; .... }
store