+ 1
Can anyone explain the curser impimentaion in linked list ?
program or diffrence.
10 Answers
+ 4
Sure. you could use two arrays. One with indexes. The other with your data. Two or three int variables holding top of free list, top of link list, and possibly bottom of link list.
+ 5
Here an example:
https://code.sololearn.com/cJNNG27Kxd5U
+ 4
Updated code with comments...
+ 2
This answer gives a decent description:
https://stackoverflow.com/a/27612548/10057029
+ 2
You don't have to learn any. The C++ language you are learning is one of the most popular languages for jobs and writing games. It is a great first choice. Concentrating on that until you can do anything you want with it could make you set for life without a need for a second language. If you want a second, Java is another highly popular language and, knowing C++, you know most of it already.
+ 1
nice thanks sir ....
0
is there any other method then class ?
0
lets see
0
i also try this by using pointers
0
heyy can u please tell which language i have to learn ....