linked list using array

guys, i am new to c++. do you have a code linked list using array. ex. if i will type a particular string, it will be put in the array using linked list then anything i typed will be shown in a textfile.

use constructor and destructor...


tnx for help...
Last edited on
Arrays and linked lists are two different data structures. It's not clear what you trying to do.
im sorry...but thanks for that info.
So is it not possible to make a linked list using array and linked list using pointer? <---- i think this is what our prof wanted us to do... i am also confused..

tnx for reply..

You can store the elements in an array in their order of appearance, and then have a completely different internal ordering by means of a Linked List (pointers).
Topic archived. No new replies allowed.