|
-
February 8th, 2008, 01:05 PM
#1
Constructor with structs
Hi! I defined an array of structs this way:
mystruct name[10];
I saw this calls the constructor with no parameters, which needs to be defined. But I need to call another constructor with some parameters. Is it possible to call it on each element of the array after I created them, using a loop, for instance?
Thanks!
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
|