lal7777
Posts

if all.knowledge = orange then: seed = mankind.knowledge: grow(seed,time): endif
Posts: 88
|
Post by lal7777 on Nov 24, 2011 14:32:18 GMT -5
Unimportant: I'm typing this using my iPod because the library isn't opened on thanksgiving:( which forces me to "borrow" wifi from a laundry mat ;D . So I'll try to keep it short.
Important Problem: I've been using c++ a lot recently, and am unsure how to declare a dynamic array of another structure inside of a normal Struct using just the <iostream> and the <new> libraries. I've looked this problem up, and there was too much information that used the c libraries (which i'm not familiar with) instead of the c++ libs. If you can't answer this question above then perhaps you can answer a rephrased (simmilar) version of what whas written above: How can I declare a dynamic array in a Struct using the same libraries above. Note: if possible please use pointers in both the answers.
|
|
lal7777
Posts

if all.knowledge = orange then: seed = mankind.knowledge: grow(seed,time): endif
Posts: 88
|
Post by lal7777 on Nov 29, 2011 11:11:00 GMT -5
Since no-one answered my question I'm going to assume that no-one knew the answer. Therefore I'll post where it is found, in the event that someone that is on these boards will eventually need the information. www.cplusplus.com/forum/beginner/56039/
|
|