例1: helloworld!
#include
int main()
{
std::cout << “Hello, world!n”;
}
或者
#include
using namespaces std;
int main()
{
cout << “Hello, world!n”;
}
换行还可以endl
C++一天一个程序(一)
最新推荐文章于 2023-03-11 16:46:30 发布
例1: helloworld!
#include
int main()
{
std::cout << “Hello, world!n”;
}
或者
#include
using namespaces std;
int main()
{
cout << “Hello, world!n”;
}
换行还可以endl