Arrays within structs | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
7th Dec 2017, 3:22 PM
Roguesquid
Roguesquid - avatar