码迷,mamicode.com
首页 > 编程语言 > 详细

devc++在用的时候

时间:2017-12-02 23:23:06      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:space   c++   nbsp   stack   namespace   str   name   ace   dev   

#include<iostream>
#include<stack>
using namespace std;

int main()
{

int a[5]={0};
return 0;
}//这样不报错

#include<iostream>
#include<stack>
using namespace std;

int main()
{
int  n;

cin>>n;
int a[n]={0};
return 0;
}//就会报错

devc++在用的时候

标签:space   c++   nbsp   stack   namespace   str   name   ace   dev   

原文地址:http://www.cnblogs.com/zhangshuyao/p/7955891.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!