| | |
Please Help Me
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2009
Posts: 5
Reputation:
Solved Threads: 0
Hello guys..
I am really new to OOP (object-oriented programming) with C++. I am trying to make a simulation window program. I have a bit confused about apply linked-list inside the class. I mean, I am trying use linked-list to do adding item menu. Yes, I make the lists of menu that consist of add item and delete item. Is the data structure I used (linked - list ) wrong and not be compatible inside class ? Is there another data structure better than linked-list ? I will be appreciate for your help. Thank you very much
I am really new to OOP (object-oriented programming) with C++. I am trying to make a simulation window program. I have a bit confused about apply linked-list inside the class. I mean, I am trying use linked-list to do adding item menu. Yes, I make the lists of menu that consist of add item and delete item. Is the data structure I used (linked - list ) wrong and not be compatible inside class ? Is there another data structure better than linked-list ? I will be appreciate for your help. Thank you very much
0
#2 Oct 20th, 2009
It would be helpful if you posted your code.
(don't forget the code tags)
(don't forget the code tags)
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
-7
#3 Oct 20th, 2009
>>Is the data structure I used (linked - list ) wrong and not be compatible inside class ?
No -- you should be able to use a linked list within a class
>> Is there another data structure better than linked-list ?
Yes -- use either <vector> (which is an array) or <list> (which is a linked list)
No -- you should be able to use a linked list within a class
>> Is there another data structure better than linked-list ?
Yes -- use either <vector> (which is an array) or <list> (which is a linked list)
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Oct 2009
Posts: 5
Reputation:
Solved Threads: 0
0
#4 Oct 21st, 2009
Woah,, thank you for you appreciation to help me. After I learn from many sources at web, I am now be able to apply the double linked-list within a class succesfully without a problem.
Besides that, I realize that OOP is more amazing than procedural programming. hehehe
Hope I can improve my OOP fast. Wish me luck hehehe 
Wishing you all properous day.
Besides that, I realize that OOP is more amazing than procedural programming. hehehe
Hope I can improve my OOP fast. Wish me luck hehehe 
Wishing you all properous day.
![]() |
Other Threads in the C++ Forum
- Previous Thread: C++ String Parsing?
- Next Thread: Positioning a Triangle of Digits
Views: 296 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for c++
.so api array arrays asp assignment binary bitmap bmp borland c++ char char* class client codeblocks compile console constructor convert decide development directshow display download ebook ect encryption error file floatingpoint format fpx fstream function functions game gdi+ gmail gnu graph guessing hash input int introductory java kioti16 line math matrix method microsoft music mysql newbie node null output parallel performance pong position print problem proficiency program programing programming python qt read recursion recursive rpg samples space stop store stream string strings struct superclass symbian system template templates testing text toolbar tree tutorial url vb6 visual visualization web win32 win32api







