T
tt55
Unregistered / Unconfirmed
GUEST, unregistred user!
刚刚学C#,还不会写程序,刚刚按书上写了段代码
#include <iostream>
#include <string>
using namespace std;
int main()
{ string user_name;
cout <<"please enter your first name";
cin >> user_name;
cout << '/n'
<< "hello,"
<< user_name
<<"...and goodbye!/n";
return 0;
}
编译都过的,一执行就提示cannot execute program!
为什么,方便的话,请指教一下从delphi转C#的捷径吧,谢谢啦
#include <iostream>
#include <string>
using namespace std;
int main()
{ string user_name;
cout <<"please enter your first name";
cin >> user_name;
cout << '/n'
<< "hello,"
<< user_name
<<"...and goodbye!/n";
return 0;
}
编译都过的,一执行就提示cannot execute program!
为什么,方便的话,请指教一下从delphi转C#的捷径吧,谢谢啦