1. 程式人生 > >64位longlong格式化字串

64位longlong格式化字串

// windows

void CtestDlg::OnBnClickedButton1()

{
__int64 i = 2200000000;
TCHAR szDescribe[256]=TEXT("");
_snprintf(szDescribe,sizeof(szDescribe),TEXT("%I64d"),i);
AfxMessageBox(szDescribe);

}

linux下是 %lld  %llu