主题:编程中出的小错误,请帮忙解决。
#include <iostream>
using namespace std;
int main(){
float a=7.3,b=6.9,c;
cout<<"a="<<a<<'\t'<<"b="<<b<<endl;
c=a;
a=b;
b=c;
cout<<"a="<<a<<'\t'<<"b="<<b<<endl;
return 0;
}
--------------------Configuration: 2 - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1168: cannot open Debug/2.exe for writing
Error executing link.exe.
2.exe - 1 error(s), 0 warning(s)
请高手指教指教,到底哪里出错了?
using namespace std;
int main(){
float a=7.3,b=6.9,c;
cout<<"a="<<a<<'\t'<<"b="<<b<<endl;
c=a;
a=b;
b=c;
cout<<"a="<<a<<'\t'<<"b="<<b<<endl;
return 0;
}
--------------------Configuration: 2 - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1168: cannot open Debug/2.exe for writing
Error executing link.exe.
2.exe - 1 error(s), 0 warning(s)
请高手指教指教,到底哪里出错了?