CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: InitHashTable

  1. #1
    Join Date
    Apr 1999
    Posts
    123

    InitHashTable

    I am using CMapStringToOb. Is it necessary to call InitHashTable(...) before inserting elements into the map? I don't know the size at that point in time.

    This question was asked previously on this forum by someone else, but the thread changed topic and the question wasn't answered.

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: InitHashTable

    No it's not necessary.

    Try it out - you'll see it's ok.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured