Hi.
You didn’t tell what’s wrong with this code, but I suppose if didn’t compile. I think you should add a default constructor to your structure. If you don’t want a constructor, you may use TArray::AddUninitialized or TArray::AddZeroed to add specified number of items, then initialize them explicitly by iterating over array items.
Hi. The problem is much more simple. How to use Add method in this case? I just dont undesrtand what should i type in in Add method in case, when i use array of structs. Thanks for your reply!
Got It Thank you!!! And if you ave any Idea how to Find an item through that kind of array can you please share wit me? Thanks! I have posted another question.