rasimangunsong
Messages postés3Date d'inscriptionvendredi 20 février 2004StatutMembreDernière intervention 1 août 2004
-
1 août 2004 à 14:28
cs_Wett
Messages postés104Date d'inscriptiondimanche 2 mars 2003StatutMembreDernière intervention12 juin 2005
-
2 août 2004 à 05:14
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
cs_Wett
Messages postés104Date d'inscriptiondimanche 2 mars 2003StatutMembreDernière intervention12 juin 2005 2 août 2004 à 05:14
...
This kind of question must be posted in the forum... Here you should only post comments about the source...
rasimangunsong
Messages postés3Date d'inscriptionvendredi 20 février 2004StatutMembreDernière intervention 1 août 2004 1 août 2004 à 14:28
Hello C++ experts,
I apologize to post my question in english
due to my poor french.
I appreciate any help regarding to my problem:
VB has string data type that we can declare as a dynamic array, for example:
nw as integer
bart() As String
ReDim bart(nw) As String
bart is an array of string that has nw-1 elements.
Now, I have a problem when trying to apply the same concept using C++.
How can I declare a dynamic array of string data type in C++ that has a same behavior in VB?
I know that C++ allows us to create an array of pointer to char, but still I cannot figure out the simplest way to use this array of pointer so I can have a simple dynamic array of char.
Please send your comment/answer to:
rasimangunsong3@yahoo.com
2 août 2004 à 05:14
This kind of question must be posted in the forum... Here you should only post comments about the source...
1 août 2004 à 14:28
I apologize to post my question in english
due to my poor french.
I appreciate any help regarding to my problem:
VB has string data type that we can declare as a dynamic array, for example:
nw as integer
bart() As String
ReDim bart(nw) As String
bart is an array of string that has nw-1 elements.
Now, I have a problem when trying to apply the same concept using C++.
How can I declare a dynamic array of string data type in C++ that has a same behavior in VB?
I know that C++ allows us to create an array of pointer to char, but still I cannot figure out the simplest way to use this array of pointer so I can have a simple dynamic array of char.
Please send your comment/answer to:
rasimangunsong3@yahoo.com
Best Regards,
Roly