注册 登录
编程论坛 C++教室

新手编程出错,球各位大神

a1079921845 发布于 2016-10-01 16:23, 2549 次点击
#incl

[此贴子已经被作者于2016-10-1 18:29编辑过]

4 回复
#2
a10799218452016-10-01 16:30
Compiling...
谢谢.cpp
C:\Windows\System32\谢谢.cpp(13) : error C2018: unknown character '0xa3'
C:\Windows\System32\谢谢.cpp(13) : error C2018: unknown character '0xbb'
C:\Windows\System32\谢谢.cpp(14) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
C:\Windows\System32\谢谢.cpp(14) : error C2146: syntax error : missing ';' before identifier 'scanf'
C:\Windows\System32\谢谢.cpp(16) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Windows\System32\谢谢.cpp(17) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Windows\System32\谢谢.cpp(18) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Windows\System32\谢谢.cpp(19) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
执行 cl.exe 时出错.

谢谢.obj - 1 error(s), 0 warning(s)
#3
实际应用2016-10-01 17:30
楼主的程序是不是修改后的程序呀
编译的错误信息和上面的程序对不上
#4
a10799218452016-10-01 17:43
回复 3楼 实际应用
--------------------Configuration: 在啧啧啧做 - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/在啧啧啧做.exe"
执行 link.exe 时出错.

在啧啧啧做.exe - 1 error(s), 0 warning(s)
#5
a10799218452016-10-01 17:43
回复 3楼 实际应用
这是执行时出错
1