[問題] C++ 不支援 %lf ?
cc1plus: warnings being treated as errors
In function 'int main(int, char**)':
Line 26: warning: ISO C++ does not support the '%lf' printf format
Line 26: warning: ISO C++ does not support the '%lf' printf format
要如何 更正,才能 消除上面的
warning?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 42.72.64.151
推
05/29 13:48, , 1F
05/29 13:48, 1F
推
05/29 17:06, , 2F
05/29 17:06, 2F
→
05/29 21:25, , 3F
05/29 21:25, 3F
推
05/30 12:28, , 4F
05/30 12:28, 4F
推
05/30 22:16, , 5F
05/30 22:16, 5F
推
05/30 23:46, , 6F
05/30 23:46, 6F
→
05/31 04:03, , 7F
05/31 04:03, 7F