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

Search:

Type: Posts; User: Yves M

Page 1 of 79 1 2 3 4

Search: Search took 1.51 seconds; generated 30 minute(s) ago.

  1. Re: Register for Amazon Ninja Coder Challenge 2013

    [ Moved here ]
  2. Replies
    14
    Views
    47,586

    Re: Operation aborted

    Agreed, it's better here.

    For the original question, I cannot say, since for me it loads correctly. Are you behind a proxy that blocks traffic? Are you maybe using a browser plugin that blocks...
  3. Replies
    16
    Views
    4,120

    Re: Passing an STL array by reference - help

    Hi Paul,

    Did you try running it again? I'm just curious whether it's the same issue or something else.

    Regards,

    Yves
  4. Replies
    3
    Views
    1,502

    Re: Can't instantiate absstract class

    When you overwrite a pure virtual function, it has to have the same signature. Otherwise you haven't actually overwritten it, you just have declared an unrelated virtual function.


    virtual T...
  5. Re: [RESOLVED] Validity of new/delete pair (or malloc/free) after pointer casting

    That's not entirely correct. When you use delete [], the destructors for each individual object are called first. If you replace char and float by car and bike classes, it's obvious that using the...
  6. Replies
    16
    Views
    4,120

    Re: Passing an STL array by reference - help

    For the deallocation speed, did you try running your program outside of the IDE? Just open a CMD window, go to the release directory and run it from there. The thing is that Visual Studio since 2003...
  7. Replies
    2
    Views
    1,370

    Re: Help with Valentine's day special worm

    This forum is for computer programming professionals, not for malware writers. This type of questions is not condoned.
  8. Re: How to check the result returned from an iterator

    stdext::hash_map<std::string, CObjects*> m_SparseMap;

    Just a mention that putting pointers to objects inside STL containers is not generally a good idea, precisely because you run into problems...
  9. Re: Need Help with Visual Basic Questions, willing to give a reward for answers to Q'

    [ redirected from the Visual C++ forum ]
  10. Replies
    7
    Views
    7,872

    Re: Memory corruption with std::map and malloc

    I think you are probably having issues with re-entrant code. If I understand your design correctly, multiple connections can be active at any time, so your program is running listeners concurrently....
  11. Replies
    2
    Views
    798

    Re: Named locks (mutexes)

    That makes sense, thanks. So I guess I'll have to implement it on my own then.

    Thanks,

    Yves
  12. Replies
    2
    Views
    798

    Named locks (mutexes)

    Hi everyone,

    I'd like to run a design by you and ask on how to implement it. Here is the basic problem:
    I have a servelet A that returns full JPG images.
    I have a servelet B that returns JPG...
  13. Replies
    2
    Views
    3,541

    Re: Compiler complains about shobjidl.h

    Have you installed the platform SDK?
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0baf2b35-c656-4969-ace8-e4c0c0716adb
  14. Replies
    16
    Views
    2,824

    Re: compare two files

    You could use unix commands for this.


    grep ':CME,' filename | sed -e 's/expression to parse out what you want/\1/' | uniq

    The grep selects the lines you're interested in from the source file....
  15. Re: Additional library needed to develop templates?

    It's in the FAQ.

    Basically, templates need the source code.
  16. Replies
    10
    Views
    2,475

    Re: vector private inheritance

    1) Well, you are safe, because the lack of a virtual destructor is not a problem when there is no way to actually use it.

    2) Basically yes. However, you should write a big comment at the start of...
  17. Re: All combinations of 0's and 1's in 128 bit character array?

    Hi,

    You can simply use next_permutation from STL algorithms. This is an example of how you would use it. The data structures are not the same as yours, but you should be able to adapt that with a...
  18. Re: mathematical tools for calculation of similarity of the objects

    If you can define your "similarity" mathematically, then you're halfway there. If you can't then you should probably try to find out what you think of when you think of your "similarity". Statistical...
  19. Replies
    4
    Views
    1,442

    Re: Regex search & replace

    Search for
    \[MSG_74{[^\]]*}\]
    Replace with
    \["MSG_74\1"\]
  20. Replies
    9
    Views
    1,698

    Re: Template declaration issue with the scope

    I guess the name lookup is a bit weird in this case. Maybe try using


    const _Ty& operator *() const
    {
    return (Acc::Value(iterator::_Ptr));
    }
  21. Thread: 32bit or 64 bit

    by Yves M
    Replies
    8
    Views
    4,142

    Re: 32bit or 64 bit

    No, the memory issue is an aside (that can be very helpful of course, but still).
    64 bit code is faster in these situations:

    Your program has integer arithmetic takes advantage of 64 bit values....
  22. Thread: 32bit or 64 bit

    by Yves M
    Replies
    8
    Views
    4,142

    Re: 32bit or 64 bit

    It's pretty much the same speed on most processors.

    However, why don't you also add a 64bit executable? If it's a new project, I think that would definitely make sense and then you could have...
  23. Replies
    34
    Views
    5,183

    Re: C++ new line HELP

    [ moderator note ]
    Please leave personal differences aside when posting on a technical forum. This forum is meant for helping with or solving precise questions that are stated by the original...
  24. Replies
    7
    Views
    11,757

    Re: C++ File Comparison

    That's exactly how I read his question.
  25. Re: Visual Studio. Debug. Copying large vectors to spreadsheet

    If you can modify the code a little bit, I would add a function that dumps the vector into a csv file and then open that with Excel. It means that you will have to add the function call to those...
Results 1 to 25 of 1973
Page 1 of 79 1 2 3 4





Click Here to Expand Forum to Full Width

Featured