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
}

Recommended Answers

All 3 Replies

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.