如何让c⼀c++代码在QQ空间高亮显示

2025-04-07 00:56:01
推荐回答(1个)
回答(1):

text1.cpp C:\Program Files\Microsoft Visual Studio\MyProjects\text1\text1.cpp(8) : error C2871: 'std' : does not exist or is not a namespace C:\Program Files\Microsoft Visual Studio\MyProjects\text1\text1.cpp(41) : error C2597: illegal reference to data member 'watermelon::weight' in a static member function C:\Program Files\Microsoft Visual Studio\MyProjects\text1\text1.cpp(50) : warning C4305: 'argument' : truncation from 'const double' to 'float' Error executing cl.exe. text1.exe - 2 error(s), 1 warning(s)