Arrays within structs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Arrays within structs

the layout of the data in question is: Order ID, Customer ID, List of Product id(separated by comma) I already have set the order id and customer id. The issue is that I want to put the list of products in an array, but if I declare the array in the struct, it doesn't exist outside, and I also don't know how to place items in the array

7th Dec 2017, 3:21 PM
Roguesquid
Roguesquid - avatar
1 Answer
7th Dec 2017, 3:22 PM
Roguesquid
Roguesquid - avatar