|
-
July 25th, 2001, 03:52 AM
#1
Variable
I have to store a big lot of variables, when I store them using a array there seems to be a crash started. So I want to store them var by var.
The Vars are defined like "N1" up to "N145". I thought there must be a easy way to store with a for loop like
for (value = 1;value < 144;value ++)
{
Var = "N"+Value2String(value);
How can I now get the content of this Nxx Var ??
Must it be a pointer ? Every idea welcome.
Thanks
-
July 25th, 2001, 04:02 AM
#2
Re: Variable
You can use a class for array like CArray or CDWordArray.
If you have anything you doesn't understand reply me.
Good work.
Pierre
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|