原创 使用VS遇到的問題

1. warning C4244 : “=”: 從“double”轉換到“float”,可能丟失數據** 原因: 如float a=2.1 編譯器默認2.1爲double型 ,即2.1爲const double類型,此賦值運算