数组长度是否有整数帮助? [英] Array Length with Integer Help?

查看:123
本文介绍了数组长度是否有整数帮助?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在声明一个文本长度的数组,


所以我做了

int i [this-> textBox1-> textlength ];

但是没有用,所以我做了

int q = this-> textBox1-> textlength;

int我[q];


但这两项都没有。


任何想法?


谢谢。

Well I''m declaring an array with text length,

so i did
int i[this->textBox1->textlength];
but that didn''t work so i did
int q = this->textBox1->textlength;
int i[q];

but neither did that work.

any ideas?

thanks.

推荐答案


既没有那么做
neither did that work



很抱歉听到这个。

Sorry to hear that.


有什么想法吗?
any ideas?



解决问题。


显然,我们没有给你任何帮助,因为你没有向我们提供任何真实的信息。

Fix the problem.

Obviously, we can give you no help because you have provided us with no real information.



很抱歉听到这个。

解决问题。


显然,我们没有给你任何帮助,因为你没有向我们提供真实的信息。
Sorry to hear that.
Fix the problem.

Obviously, we can give you no help because you have provided us with no real information.

展开 | 选择 < span class =codeDivider> | Wrap | 行号


显然,您使用的编译器不支持分配大小不仅仅是常量的数组你在使用Visual Studio吗?因为visual studio根本不支持C99标准!!
obviously, the compiler you are using does not support allocating arrays with sizes that are not only constants... are you using Visual Studio? cause visual studio does not support the C99 standard at all!!


这篇关于数组长度是否有整数帮助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆