目录 一、需求 二 、实现 1、头文件 2、解码实现 3、示例 一、需求 示例: 现在想用C++ 实现解码URL 二 、实现 1、头文件 #include <regex> #include <sstream> 2、解码实现 //https://gist.github.com/arthurafarias/56fec2cd49a32f374c02d1df2b6c350f //Encode and Decode HTTP URIs and URI components in C++ //What is a URI ? std::string de