I would be very happy if you could explain to me clearly to understand the void insertAtRear() function.

I want to make an insertation like
void insertAtRear(int i, string s, string n)
{
//how can i implement this function
// i need to
}

I would be very happy if you could explain to me clearly to understand the void insertAtRear() function.

I want to make an insertation like
void insertAtRear(int i, string s, string n)
{
//how can i implement this function
// i need to
}

No, we can't explain clearly because we don't know what we're inserting at the rear of what, or why.

No, we can't explain clearly because we don't know what we're inserting at the rear of what, or why.

We assume that all header files are already implemented.
as an example we insert

l.insertAtRear(5, "John", "Smith");

but first I need to implement
an " insertAtRear() " function
and a printList() function

We assume that all header files are already implemented.
as an example we insert

l.insertAtRear(5, "John", "Smith");

but first I need to implement
an " insertAtRear() " function
and a printList() function

Still no clue what you're asking. You could write twelve different functions with that description.

Why do you have two threads?