作者:
SJYZ (益)
2016-06-02 21:18:17最近我在VS利用scanf用來輸入一個數字
但經過compiler後出現錯誤 => 建議我使用scanf_s
改過後,出現warning,以下
'scanf_s':format string '%lf' requires an argument of type 'double *',but variadic argument 1 has type 'double'
狀況:輸入數字後,出現錯誤視窗 =>Debug Assertion Failed! 中止
找過資料,也解決不了
請問哪方面錯了?