C++程序编译的时候报“使用了未初始化的局部变量xxx”

这是要把局部变量初始化

可以给个 char* dest = "";   初始赋值""

原文地址:https://www.cnblogs.com/wwssgg/p/15538314.html