dont return local address

#include <iostream> #include <string> #ifdef __linux #include <stdio.h> #endif // 编译器真是相当友好啊warning C4172: returning address of local // variable or temporary 一定不要返回局部变量啊 char* GetMemory(void) {
相关文章
相关标签/搜索