字符串数组 [英] Array of Strings
问题描述
嗨
我坚持这个....基本上我对c +编程很新,想知道如何创建一个多维的字符串数组。
另外我想创建一个大小为mxn = 3000 x 5000的字符串的默认多维数组。是否可以在C ++中使用。你可以给我这方面的建议....
非常感谢
Vinay
Hi
I am stuck at this....basically i am very new to c+ programming and would like to know how to create a multi dimensional array of strings.
Also i would like to create a default multidimensional array of strings of the size mxn = 3000 x 5000. Is it possible in C++. can u give me suggestions on this as well....
Many thanks
Vinay
推荐答案
嗨
我被困在这......基本上我对c +编程很新想知道如何创建一个多维的字符串数组。
另外我想创建一个大小为mxn = 3000 x 5000的字符串的默认多维数组。是否可以在C ++中使用。你可以给我这方面的建议......
非常感谢
Vinay
Hi
I am stuck at this....basically i am very new to c+ programming and would like to know how to create a multi dimensional array of strings.
Also i would like to create a default multidimensional array of strings of the size mxn = 3000 x 5000. Is it possible in C++. can u give me suggestions on this as well....
Many thanks
Vinay
您是否阅读过有关C ++中字符串和/或数组的任何教程?
Have you read any tutorial on strings and/or arrays in C++ yet?
Hi
我坚持这个....基本上我对c +编程很新,想知道如何创建一个多维的字符串数组。
另外我想创建一个大小为mxn = 3000 x 5000的字符串的默认多维数组。是否可以在C ++中使用。你可以给我这方面的建议......
非常感谢
Vinay
Hi
I am stuck at this....basically i am very new to c+ programming and would like to know how to create a multi dimensional array of strings.
Also i would like to create a default multidimensional array of strings of the size mxn = 3000 x 5000. Is it possible in C++. can u give me suggestions on this as well....
Many thanks
Vinay
使用c数组:
string array [m] [n] .... [x];
使用c ++ STL'的向量会更复杂,现在你更好地使用它(直到你找到一些好的书或教程,如我们的管理员建议的那样)。
关于你的第二个问题,请输入以下内容:
typedef name string [3000] [5000];
Savage
Using c arrays that would be:
string array[m][n]....[x];
using c++ STL''s vector it would be much more complicated,it''s better for now that you use it like this(until you find some good books or tutorials as our admin suggested).
About your second question,typedef it:
typedef name string[3000][5000];
Savage
使用c数组:
string array [m] [n] .... [x];
使用c ++ STL'的矢量会更复杂,现在你更好地使用它(直到你我们的管理员建议找一些好书或教程。
关于你的第二个问题,请输入:
typedef name string [3000] [5000];
Savage
Using c arrays that would be:
string array[m][n]....[x];
using c++ STL''s vector it would be much more complicated,it''s better for now that you use it like this(until you find some good books or tutorials as our admin suggested).
About your second question,typedef it:
typedef name string[3000][5000];
Savage
非常感谢....
是吗在Visual C ++中可能有大小为3000 x 5000的数组?因为我用char尝试同样的事情;它停在100 x 5000.
无论如何我都会尝试...
thnx
Thanks a lot....
Is it possbile to have array upto sizes of 3000 x 5000 in Visual C++?? Cause when i try the same thing with char; it stops at 100 x 5000.
anyways i will try it...
thnx
这篇关于字符串数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!