0 c++
我已经尝试过所有的东西,这是我的第一个C++程序,但它并没有出来.我收到两条错误消息.error7:1 warning: character constan too long for its type.和7:error: expe
//My first C++ program
#include <iostream>
int main():
{
"-std::cout << "I will get it" << -std::cout::end1";
"-std::cout << "I hope so" << -std::end1;
return(0);
}
Run Code Online (Sandbox Code Playgroud)
Yuv*_*dam 11
您的代码应该像这样修复:
#include <iostream>
int main()
{
std::cout << "I will get it" << std::endl;
std::cout << "I hope so" << std::endl;
return 0;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
185 次 |
| 最近记录: |