摘要: bool bResult = false;; float a = bResult ? 0 : 1; 阅读全文