Why isn't “0f” treated as a floating point literal in C++?

后端 未结 6 637
暖寄归人
暖寄归人 2020-12-03 21:19

Why isn\'t 0f treated as a floating point literal in C++?

#include 

using namespace std;

int main(){
  cout << 0f <&l         


        
6条回答
提交回复
热议问题