|
-
August 29th, 2001, 10:10 PM
#1
Is it possible to concatenate variable/pointer names?
I have 5 pointers like:
pA0->SetWindowText("");
pA1->SetWindowText("");
pA2->SetWindowText("");
pA3->SetWindowText("");
I would like to use a loop to make it easier, something like:
for (i=0;i<4;i++)
{
(pA + i)->SetWindowText("");
}
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
|