Arrays within structs | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
7th Dec 2017, 3:22 PM
Roguesquid
Roguesquid - avatar