2013年11月17日

homework-08

摘要: 一、C++变量的作用域和生命周期 #includeusing namespace std;//C++变量的作用域和生命周期void test1(){ for(int i=0 ; iusing namespace std;//C++变量的作用域和生命周期void test1(){ for(int i=0 ; iusing namespace std;//堆和栈两种内存申请方式void main(){ int a; //栈的申请方式 ,程序结束后系统自动释放 char *p1; ... 阅读全文

posted @ 2013-11-17 20:28 缒风 阅读(148) 评论(0) 推荐(0) 编辑

导航