|
-
August 5th, 2012, 02:34 AM
#3
Re: How can I initialize structures AFTER declaration? (begginers question)
 Originally Posted by Ulnarian
Code:
struct sInfo
{
vector<string> vName;
float fClientHoldings;
};
sInfo sClientData[100]; //create an array of structures for up to 100 client's
You may want to implement the constructor(s) in your struct sInfo to initialize its members.
Victor Nijegorodov
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
|