No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, does anyone know what the message 0xc088 is? My PeekMessage(...) loop is getting this message code, but I cannot find it in the header files (grep'ed c088). It seems to be intersperced with WM_PAINT messages. |
|
[code] #include <iostream> class base { public: void print() { std::cout << "base" << std::endl; } }; template< class B > class der : public B { int i; public: virtual void print() { std::cout << (B *)this << std::endl; B::print(); } }; int main(int, char **) { der< der< … |
|
This is my example code: [code] #include <vector> std::vector<int> v; int main(int, char **) { std::vector<int>::const_reverse_iterator iter = v.rbegin(); if (iter != v.rbegin()) // or v.rend(), whatever, just problematic { } } [/code] Is this supposed to compile correctly? Using g++ 4.2.4 it does. Using [quote]sbox-i686-linux-gcc (GCC) 3.4.4 (release) (CodeSourcery … |