C++编译时遇到的一个很诡异的错误。
#include <stdio.h>#include <iostream>#include <windows.h>class WidgetObject{ int m_x; int m_y;public: WidgetObject(int _x,int _y=5):m_x(_x),m_y(_y) { } void ShowValue() { std::cout<<m_x<<" "<<m_y<<std::endl; } int GetXValue() { return m_x; } int GetYValue() { return m_y; }};int main(int argc, char **argv){ printf("hello world\n"); return 0;}