Search results

  1. U

    Best/easiest language for self-contained executables?

    This is impossible, because... ... does not exist in any language or external tool that I know of. The very definition of an ActiveX control is that it be a COM+ object. That means it NEEDS an external DLL and registry entries in the case of VB and Delphi. With C++, you can fudge it a...
  2. U

    C++::stl::map::declaration error

    Just to be thorough, examples. I suggest using the non-pointer solution unless you absolutely know you need it. Non-pointer version (easiest to do, but may be problematic in 1% of possible uses): (same definition as above) template <class P, class D> PHeap<P,D>::PHeap() ...
  3. U

    C++::stl::map::declaration error

    Type mismatch. DMap is of type map<P, list<D>>, and you're trying to initialize it with a map<P,D>. BTW, you've got a memory leak in the above. C++ isn't garbage collected like Java is -- in your present code, every time you create the heap, you're spitting a priority queue and a map into...
Back
Top