| | |
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: 297 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for c++
.dll 3d api array arrays assignment binary bitmap c# c++ calculator char char* class compile compression console delayload development download email embed embedded encryption engine error exam examples faq file fstream function functions game graph guess gui html ide int introduction java jni keyboard lines linker linux lnk2019 math maze microsoft modal multiple newbie noob number numbers objects output partnership php pointers primenumbersinrange problem professor program programming project projects python question read recursion recursive regqueryvalueex richedit rpg search send sql stream string strings struct studio system temperature template templates test text timer traverse tree url variable visual visualstudio void win32







