Search:

Type: Posts; User: seansean49

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,737

    Thanks for the reply. I can set a breakpoint...

    Thanks for the reply.

    I can set a breakpoint on the line with the return statement. If I then hit F5 and debug, an exclamation mark temporarily appears on the breakpoints (hovering over which...
  2. Replies
    9
    Views
    1,737

    Hi Daved. It's in Win32 Debug configuration,...

    Hi Daved.

    It's in Win32 Debug configuration, this console project was created through Empty Project. This is how it traces through the If block in the code above (when foundPos != end):
    Hits...
  3. Replies
    9
    Views
    1,737

    PS Optimization under C/C++ in the...

    PS

    Optimization under C/C++ in the configuration settings is set to: Disabled (/0d)
  4. Replies
    9
    Views
    1,737

    Hi thanks for the responses. Salem - I think...

    Hi thanks for the responses.

    Salem - I think you may well be correct, it is tracing through the code in certain sections in an unpredictable (and seemingly illogical) manner.

    The settings in...
  5. Replies
    9
    Views
    1,737

    vs2005 debugger stepover erratic

    The debugger step over command jumps up and down randomly in the if-else block in the code below. It skips a line, goes back to the top, back down, up again?? I fixed the problem by changing the two...
  6. Replies
    2
    Views
    3,022

    many thanks

    many thanks
  7. Replies
    2
    Views
    3,022

    how to de-reference a pointer to a map

    Hi

    If I have a pointer to a map container:



    map<int, double>* mapPointer = &aMap;


    how do I then de-reference the pointer to access a member through its key?
  8. Replies
    7
    Views
    1,511

    thanks and apologies as I should of spotted that.

    thanks and apologies as I should of spotted that.
  9. Replies
    7
    Views
    1,511

    Thanks for the help Karas, it now compiles. ...

    Thanks for the help Karas, it now compiles.

    Would you be able to explain to me why I need the default constructor, since the component Object had already been initialised when I attempted to add...
  10. Replies
    7
    Views
    1,511

    C++ Map - Error in simple code

    Hi

    I can't figure out why this short piece is giving an error at the point where I add an element to the map. Any ideas much appreciated, thanks in advance.




    #include <map>
    using...
Results 1 to 10 of 10