i would suggest you creata a pointer inside the struct...
using namespace std;
char name, item;
int num=100; \\ this can be accepted fro the user..
record=new inventory_items[num]; \\will create an array of 100
But make sure you clear up the memory by using delete..
ohh boy.. i thought i was the first to answer this and 2 guys beat me to it..