*rolls eyes*
Dev-C++ uses MinGW (excuse my language "a compiler with out the BULLSHIT) while VC++ 08 is different. |
Correction: Dev-C++ uses a crazy outdated version of MinGW, which is probably why the behavior was incorrect (he probably was doing something wrong that just happened to work on MinGW when it shouldn't have been working).
Microsoft changes the implementation on their compilers WAY TOO much, |
How do you figure?
Besides.. why would this matter? Does it matter how the compiler works as long as it works?
its like they don't liek to follow the rules of ANSI and twist and bend the code to create something that works a completely different way. |
...such as? What's your basis for this claim?
MSVC++ tries to be as standards compliant as possible. It gets some things right that GCC gets wrong (and vice versa).
Stick with the compiler that gives you the best results, simple as that. |
Horrible advice. Even if the compiler he was using
wasn't criminally outdated this would still be bad advice.
Good code works on any compiler. Ideally programmers should even try to test their code on as many compilers as possible to make sure it works as expected. In fact this is even somewhat of a necessity for libraries, or really any common open source software.
Take your "all the cool kids hate MS" crap elsewhere plzkthx.
@zypronix:
Your code looks to me like it has MASSIVE memory leaks. You keep creating/loading new brushes images when controls are drawn. Each time you do so, you leak the previous one because you don't delete it.
You only delete it when the window is destroyed -- but it's only destroyed once, whereas it might be drawn several hundred/thousand times.