学习用C++开发你的第一个游戏(英文)
# include <iostream>
int main()
{
std::cout << "Welcom to Bulls and Cows\n";
std::cout << "Welocm to Bulls and Cows" << std::endl; // 推荐
return 0;
}
升级
# include <iostream>
using namespace std; // 命名空间std,之后的cout 和 endl 就不用再加上std:: 了
int main()
{
cout << "Welocm to Bulls and Cows" << endl;
return 0;
}