Issue With Setting Things Equal to Nullptr : So I'm working on a text-based RPG to keep up my programming knowledge over the summer (I've taken 2 trimesters of C++ so far). Anyways, I've been working on the character's inventory system, and I've run into an issue. So, the inventory is an array of type Item (which I've already made). The default constructor for Item sets it to be an Item "Plain Rock;" but I just want the inventory to be completely empty when it's created. So I thought of a work-around, by, when creating the inventory, setting the address of every spot in the inventory to equal nullptr:

    Inventory::Inventory()
    {
        currentBPSize = 5;
        backpack = new Item[MAX_BACKPACK_SIZE];

        for(int i = 0; i < MAX_BACKPACK_SIZE; i++){
            &backpack[i] = nullptr;
        }
    }

Whenever I run this, however, I get the error "lvalue required as the left operand of the assignment." What am I doing wrong, or is there something I should be doing completely differently? Thanks!