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

Search:

Type: Posts; User: MrDoomMaster

Page 1 of 52 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    1
    Views
    5,692

    Rendering a bitmap to a canvas

    Hello,

    I've subclassed Canvas so that I can override its Render function. I need to know how I can load a bitmap in WPF and render that to the canvas. I'm completely new to WPF and I haven't found...
  2. Re: Question about CV-Qualifiers for class members

    If that's the case then I'm sure you meant "int* const p".

    You have all confirmed that how I originally thought this worked is indeed correct. However, I guess I'm a bit disappointed. I've always...
  3. Re: Question about CV-Qualifiers for class members

    Thanks for the info everyone. What about const member functions? I never try to modify the data being pointed to by the pointer, so I'm not really sure about this fundamental rule. If I call a const...
  4. Question about CV-Qualifiers for class members

    Hello,

    I'm looking for the location in the C++03 standard that discusses the rules for const qualification of members when a class object is const-qualified. For example, if I have a class like...
  5. Replies
    7
    Views
    6,112

    Re: C++ Memory Leak Detector?

    Except this isn't free...
  6. Replies
    7
    Views
    6,112

    Re: C++ Memory Leak Detector?

    That's right. I'm on Windows. Sorry for not mentioning this.
  7. Replies
    7
    Views
    6,112

    C++ Memory Leak Detector?

    Hi everyone,

    I'm looking for a decent FREE solution to checking for memory leaks in my C++ application. I know about Boundschecker, PurifyPlus, and GlowCode, however all of these cost money and...
  8. Replies
    10
    Views
    1,384

    Re: 'long long' not standard

    On 64-bit windows, long is only 32 bits? What the? That means 'int' must be less than or equal to 32 bits!!
  9. Replies
    10
    Views
    1,384

    'long long' not standard

    Hi,

    I was doing a bit of reading into the C++03 standard and I noticed that 'long long' is not standard. If it is not standard, why have so many compilers (Especially MSVC) made up a non-standard...
  10. Replies
    9
    Views
    20,704

    Re: The "best" python IDE

    Programmer's Notepad is not really an IDE, but it has a great project management feature and nice Python syntax highlighting. You can also setup Python as a command line utility in the editor and run...
  11. Replies
    4
    Views
    1,111

    Re: DLL's and EXP files

    I'm doing that, however it's still not working unless I provide the EXP file.
  12. Replies
    4
    Views
    1,111

    DLL's and EXP files

    Hi,

    Currently I'm using LoadLibrary() to load a DLL I compiled. However, I'm finding that GetProcAddress() will not work unless an EXP file is bundled with the DLL.

    Is there a way of getting...
  13. Replies
    6
    Views
    2,297

    Re: Python Forum

    I haven't been doing much Python development on my end right now, so I have nothing to discuss. Later, however, when I start doing a little more python programming I will definitely be using it more....
  14. Replies
    5
    Views
    1,231

    Re: Comma usage in initializers

    The reason why I am bringing this up is because Microsoft asserts that the C++ language allows the behavior. I quote from one of the blogs posted to the Visual Studio Developer Blog:



    The full...
  15. Replies
    5
    Views
    1,231

    Re: Comma usage in initializers

    Everything you've just said I already understood, however your first code example is confusing, I'm not sure what you're trying to point out.

    I'm specifically expecting this behavior to be...
  16. Replies
    5
    Views
    1,231

    Comma usage in initializers

    Consider the following example:


    int foo[] = { 3, 4, 5, };

    Note that above I have a comma operator after the last element in the initializer. An example presenting the exact same behavior can...
  17. Replies
    18
    Views
    4,551

    Re: Names beginning with _ or __

    Yes, he did say it. Quote below:
  18. Replies
    18
    Views
    4,551

    Re: Names beginning with _ or __

    I'm not saying that macros are in the "global scope" category.

    Googler states, if I am understanding correctly, that only global variables (not macros) can conflict with implementation defined...
  19. Replies
    18
    Views
    4,551

    Re: Names beginning with _ or __

    Hey guys,

    I'm bringing this topic back to life because quite frankly I still feel there's a couple of things that remain unanswered.

    In the quote above, googler states that it only applies to...
  20. Casting Signed to Unsigned: Undefined Behavior?

    Hi,

    First take a look at this quote from the C++03 standard:



    This is the closest thing I can find in the standard that explains this behavior:

    unsigned int Foo = (int)-4;
  21. Replies
    5
    Views
    3,008

    Re: Member pointer selector issues

    That doesn't make sense. You should be able to use the member as-is. It seems odd to have to define your non-static members as if they were static.
  22. Replies
    5
    Views
    3,008

    Member pointer selector issues

    Hi,

    I've never actually used ->* or .* before, and I decided that I would experiment with them just to see if I understand how they work. The code below, however, does not compile:



    class...
  23. Re: Confused about ODR (One Definition Rule)

    But, it's more than just bad... it's illegal. You can't possibly successfully compile and link your application with duplicate symbols.

    If I have a header, for example, that has a static function...
  24. Confused about ODR (One Definition Rule)

    Hi,

    At the wikipedia page located here, it states the following in regards to the definition of ODR:

    "# In any translation unit, a template, type, function, or object can have no more than one...
  25. Replies
    3
    Views
    575

    Re: Question about internal linkage

    Thanks for your response to my inquiry. Could you explain what you mean by "first found"? How does this violate ODR (Note that I already am a little bit fuzzy on the definition of ODR)?
Results 1 to 25 of 1281
Page 1 of 52 1 2 3 4





Click Here to Expand Forum to Full Width

Featured