摘要:
uno.理解C++变量的作用域和生命周期没有要求讲解我就简单注释了一下~#include int main(){ for (int i=0;iusing namespace std;char *wrongdoing(){ char t[] = "wroingdoing"; return t;}char *rightway(){ char *t = "rightway"; return t;}int main(){ cout using namespace std;int *p,*q;void test(){ int *a = new... 阅读全文