I have an array which contains a number and string in each element - itemClass.itemID and itemClass.itemName. the two combined making up an inventory
I am trying to build a function which uses a for loop to take each itemID and concatenate them all together to produce a string of all the item numbers
Any hints or ideas as to what functions to use??
I have tried to convert the int into a char and then concatenate them all together on each iteration of the for loop but have had little success