Arrays within structs | SoloLearn: Learn to code for FREE!

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

12/7/2017 3:21:26 PM

Roguesquid

1 Answer

New Answer

0

https://code.sololearn.com/c94JJONe9vTa/?ref=app