shilpashetty27
Technical User
Hi all,
I’m trying to create an array of a string object whose contents I need to access later. To be more specific:
string data[] = {“10”,”11”, “12”};
Using a for loop I want to access the first, second and third element of the array above.
As I understand it, the above declaration is incorrect. Any ideas on how I can go about doing this are appreciated.
Thanks in advance!
Shilpa
I’m trying to create an array of a string object whose contents I need to access later. To be more specific:
string data[] = {“10”,”11”, “12”};
Using a for loop I want to access the first, second and third element of the array above.
As I understand it, the above declaration is incorrect. Any ideas on how I can go about doing this are appreciated.
Thanks in advance!
Shilpa