I am pretty new to programming and this question is probably very basic but;
I've been assigned with a homework which in one part asks me to;
Write a main program that reads commands from standard input and executes them. Every command corresponds to a function from the above modules/classes. Every time a list is created, it will be assigned a unique number. You can assume that at most 10 lists will be created by the input. The first list is assigned number 0 and the last one is assigned number at most 9
I already coded modules / classes (a linkedlist class, a linkedlist module, an array class and an array module) But I dont know how its even possible to create them automaticly and assign them a value, I dont even know where to start. I cannot use an array to store created lists because they belong to different variable types. Any tips is appreciated.