|
-
December 5th, 2011, 03:52 PM
#6
Re: Linked List Problem
 Originally Posted by josh26757
this is very true! But being a beginner I am trying to fully understand the basics and learn from problems like this. Any suggestions or is more code needed? I feel like I am missing some rule here.
Let me ask you:
Is your goal
1) To finish your program for your brother's website, bug-free and easy to maintain, probably in a matter of hours, if not minutes,
or
2) learn C++ up to the intermediate level, which may take weeks if not months, so that you know how to handle dynamically allocated memory properly?
Professional C++ programmers use std::list, and that is part of the "basics". Those basics entail learning how to use the C++ standard library properly.
Dynamic memory allocation and properly using pointers is not a beginner topic. Leave that alone until you take a data structures course in school. In the C++ programming world, most programmers use the standard library.
Regards,
Paul McKenzie
Last edited by Paul McKenzie; December 5th, 2011 at 03:56 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|