dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: andrey_zh

Search: Search took 0.02 seconds.

  1. Re: general purpose Singly-linked list implementation with inheritance

    It seems to me, that Iterator is exactly the thing I need. So I have to give up with template implementation.
    Two more questions, probably the last ones:

    1) Is that ok, to allow access to data of...
  2. Re: general purpose Singly-linked list implementation with inheritance

    But how about "black box" concept? I want something simple outside and not seen complexity level inside.
  3. Well could someone help me with this one

    Well could someone help me with this one. This demonstrates one(particular) of the problems I have with my "Slist with inheritance".

    The code is wrong! I assume I should add 'virtual' and probaly...
  4. Re: general purpose Singly-linked list implementation with inheritance

    My template solution is following. Here are class definitions only. It's OK, it works, but it looks like an example in a book for newbies.



    template <class T>
    class Slist
    {
    public:

    ...
  5. Re: general purpose Singly-linked list implementation with inheritance

    Sorry, if someone understood that I'm working on implementation with templates. Templates are the thing I'm not interested in! I *do not* want to write some_node->get_item()->get_one_more_field()...
  6. general purpose Singly-linked list implementation with inheritance

    The challenge is to implement a general purpose Singly-linked list.

    I've found a good decision with templates, it looks natural and works good, but it's too long to write something like...
Results 1 to 6 of 6


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.