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

Search:

Type: Posts; User: mattpd

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    1,299

    Re: std::map proper use?

    Yes, it's standard behavior, operator[] of std::map inserts elements if they don't exist, it's intentional:
    http://www.cplusplus.com/reference/stl/map/operator%5B%5D/

    If you merely want to check...
  2. Re: Simply looking for advice.. Perhaps motivation.

    If you want to see topics in a course approach, I recommend taking a look at CS106B class at Stanford:
    http://www.stanford.edu/class/cs106b/

    What's nice is that they made their video lectures...
  3. Replies
    13
    Views
    1,711

    Re: Memory managment in C++

    And, in general, RAII is preferred for resource(s) management in general and smart pointers for memory management in particular. I've already posted that as a reply, but apparently it got "moderated...
  4. Replies
    18
    Views
    10,899

    Re: A faster std::set?

    I've posted suggesting intrusive containers from Boost.Intrusive with links but apparently that got moderated. Let's try again, without helpful links, perhaps, that'll make the mods happy ;-)
  5. Replies
    18
    Views
    10,899

    Re: A faster std::set?

    Have you considered intrusive containers from Boost.Intrusive?
    http://www.boost.org/doc/libs/release/doc/html/intrusive.html

    In particular:...
  6. Replies
    13
    Views
    1,711

    Re: Memory managment in C++

    http://www.parashift.com/c%2B%2B-faq-lite/freestore-mgmt.html#faq-16.14

    BTW, since you're coming of Java, it might be useful to know that in C++ (as opposed to C and, to some extent, Java or C#)...
  7. Replies
    3
    Views
    5,365

    Re: C++ .NET framework for Windows Forms (GUI)

    Qt is not that bad.
    An alternative is WxWidgets.
    If you're looking for something more lightweight, FLTK is the way to go.
    The new way to have native GUI in Windows 8 is to use C++/CX:...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured