C++诡异的问题

来源:互联网 发布:淘宝访问量怎么提高 编辑:程序博客网 时间:2024/06/06 01:00


int _tmain(int argc, _TCHAR* argv[])
{
std::cout << "单元测试111" << std::endl;
int lBankS = 300000;
int m_lChipScore = 500;
int m_lAllJettonScore = 62500;
int tmp = m_lChipScore + m_lAllJettonScore;
cout << "tmp = " << tmp << endl;
cout << "lBanks " << lBankS / 40 << endl;
//判断玩家下注是否超过当前区域可下注数目
if ((m_lChipScore + m_lAllJettonScore) > (lBankS / 40))
{
std::cout << "really" << endl;
}


cout << "geg" << endl;
cin.get();
cin.get();
return 0;

}


if进去了,但是没输出

换了几台电脑,别的电脑正常

把注释干掉能正常输出


原创粉丝点击