Raised This Month: $ Target: $400
 0% 

How to create structure with dynamic memory?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
karaulov
Senior Member
Join Date: Jul 2018
Old 02-11-2019 , 04:35   Re: How to create structure with dynamic memory?
Reply With Quote #3

But how to create dynamic array of structures inside another structure ?

as
Code:
struct str1
{
...
}

struct str2
{
...
std::vector<str1> str1list;
...
}
karaulov is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode