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

Search:

Type: Posts; User: BytePtr

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Need a bit help with std::map and / or multimaps and algorithm

    Thank you for the reply.
    You gave me idea.

    I did function like this:



    map<int, stack<int> > asi;

    int getLASTcmdindexfor(int commandid)
  2. Need a bit help with std::map and / or multimaps and algorithm

    Hello.

    Im stuck with some problem(s).
    Currently i have a std::map like this:

    map<int, int> mymap;

    In my procedure i add some items to this. When i have no duplicates for keys, all seems to...
  3. You never get bored or tired of programming stuff?

    I just opened the forum, to look around here after a long break.

    I see always same members answering questions etc etc. Of course i have nothing against this. I am just curious..

    The long time...
  4. Please help adding Redo command to the example code

    Hello all.

    Remove underscore from urls please when doing copy/paste. Forum thinks that its bad word. But its the website url.

    Can you please help me add a Redo command to the example attached...
  5. Replies
    4
    Views
    536

    Re: Finding items (strings) in multiple lists

    Actually yes, i was thinking about this a little bit today and decided to store all variables in one std::map.
    This allows me to also detect re-declared variables.
    Variable will be key and value...
  6. Replies
    4
    Views
    536

    Finding items (strings) in multiple lists

    Hi.
    It's hard to give proper title for this topic but anyways..

    Im working on a script compiler and i need to handle different types of data.
    Actually different categories of items.

    Let's say...
  7. Re: Getting elements from structs in std::map with "partial values"?

    Lindley or somebody.

    How efficient or not efficient is looping through map with iterator, if it has lot's of items, let's say, 500-10000.
    Does it get's slower the more items the map has?

    How...
  8. Re: Getting elements from structs in std::map with "partial values"?

    Thanks, you gave me great push, i will try to code out something.
    It will be interesting.

    Will let you know how it goes and what solution i found.
  9. Re: Getting elements from structs in std::map with "partial values"?

    Lindley, so you say that without sorting it will not be as fast as it should?

    Pretty bad, i think in the code i will use, the additional sorting each time would hit the performance of whole...
  10. Re: Getting elements from structs in std::map with "partial values"?

    Hi Paul.
    Thanks for reply.

    Actually i forgot to tell that, the struct values will be always unique.
    At least i hope so. I just encountered the problem, that i need to figure out, to which item...
  11. Getting elements from structs in std::map with "partial values"?

    Hello all.
    It was hard to make title for this topic.

    I have a simple code:

    #include <iostream>
    #include <map>

    using namespace std;
  12. Re: How to walk on terrain and not go through walls ?

    Watch this guy channel, he got a lot of good vids, including 3D collision and basic FPS game.

    http://www.youtube.com/user/thecplusplusguy

    Tuts:
    http://www.youtube.com/watch?v=W2QrXv2yZhE...
  13. Replies
    1
    Views
    1,572

    Re: Block 3D Editor Project question

    Hi.
    I don't think that it's hard. Nobody teached me OpenGL, but look what i have done. Learned all by myself.

    http://www.youtube.com/watch?v=PSubaCJXp_A...
  14. Replies
    18
    Views
    6,263

    Re: How to call a C++ dll function at runtime ?

    I use Notepad, to see decorated stuff.
    No third party tools needed.

    http://img708.imageshack.us/img708/1103/pooltex.jpg
  15. Re: Problems with std::map "delete" & "erase", access violation

    Thanks again.
  16. Re: Problems with std::map "delete" & "erase", access violation

    Thank you very much Eri523.
    I made the changes you told me to do, i let the editor run for pretty long time.
    Seeked around my scene and no crashes.

    I added rep. to you for the help.

    And cache...
  17. [RESOLVED] Problems with std::map "delete" & "erase", access violation

    Hello.

    For my map editor (in Delphi) i have created simple DLL in C++ using VS2008 Express for caching OpenGL texture ID's.
    Basically the code is not created by me, it's from old (now died) open...
  18. Re: Window on top of specific HWND but not completely modal

    Well the listbox contains small tiles (graphics) but on XP it doesn't draw them correctly. Only one of them is visible, for the rest you have to click on left mouse btn and drag at the same time over...
  19. Re: Window on top of specific HWND but not completely modal

    On top is what i want. I mean i have an app (not made by me). It has listbox with stuff in it.
    I want to cover that listbox with my window, so user will use my own listbox instead of the original...
  20. Window on top of specific HWND but not completely modal

    Is there an API function that allows set my main app window on top of another specific application but not completely modal (i.e not on top of everything).

    In general: modal on specific app only?...
  21. Replies
    13
    Views
    2,901

    Re: Help with std::map, struct as key

    Amazing, i got it to work. Thanks for all the help guys.
    And thanks to this:
    http://stackoverflow.com/questions/979759/operator-and-strict-weak-ordering
    It's not as fast as my friend one, but it...
  22. Replies
    13
    Views
    2,901

    Re: Help with std::map, struct as key

    Ok, seems i got this working somehow.
    Still don't understand why it didn't work at first time.


    Can anyone recommend me some book or tutorial how to make strict weak ordering for std::map?
    That...
  23. Replies
    13
    Views
    2,901

    Re: Help with std::map, struct as key

    Still haven't figured out the ordering method for ::map but Paul.

    Can you help me with file reading?

    I mean, i need to read in 8*256*256 (524288) count of block_info structs from file into 1D...
  24. Replies
    305
    Views
    73,210

    Re: What Movie are you watching Now ??...

    I agree 100%
  25. Replies
    2,687
    Views
    452,113

    View Post

    Isn't this just beautiful?

    Gavin Froome - After The Rain
    http://www.youtube.com/watch?v=6m_ZdfAxxuc

    I love this kind of music.
Results 1 to 25 of 278
Page 1 of 12 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center