+ 1

Can anyone explain the curser impimentaion in linked list ?

program or diffrence.

22nd Jul 2018, 12:18 PM
Sankalp Pandey
Sankalp Pandey - avatar
10 ответов
+ 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.
22nd Jul 2018, 4:44 PM
John Wells
John Wells - avatar
22nd Jul 2018, 5:19 PM
John Wells
John Wells - avatar
+ 4
Updated code with comments...
22nd Jul 2018, 5:54 PM
John Wells
John Wells - avatar
+ 2
This answer gives a decent description: https://stackoverflow.com/a/27612548/10057029
22nd Jul 2018, 12:50 PM
John Wells
John Wells - avatar
+ 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.
3rd Aug 2018, 5:27 PM
John Wells
John Wells - avatar
+ 1
nice thanks sir ....
22nd Jul 2018, 5:22 PM
Sankalp Pandey
Sankalp Pandey - avatar
0
is there any other method then class ?
22nd Jul 2018, 12:54 PM
Sankalp Pandey
Sankalp Pandey - avatar
0
lets see
22nd Jul 2018, 5:20 PM
Sankalp Pandey
Sankalp Pandey - avatar
0
i also try this by using pointers
22nd Jul 2018, 5:22 PM
Sankalp Pandey
Sankalp Pandey - avatar
0
heyy can u please tell which language i have to learn ....
3rd Aug 2018, 2:16 PM
Sankalp Pandey
Sankalp Pandey - avatar