he is not using the std::list, but a normal array.
@Cruicial,
to insert an item you need first to declare a new array with at least one more element. However this requires pointer and dynamic memory management.
Edit: @Cruicial:
Lets say that the array A contains:
{20,10,30,40,50}
and array B has:
{20,10,30,60,40,50}
but array C has only:
{70}
Please insert value 42 both in the middle of A, B, and C and then show the content of each array to us. We need to understand the exact logic that the operation follows.